[Midnightbsd-cvs] src [10681] trunk/include/string.h: visibility

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 9 15:51:13 EDT 2018


Revision: 10681
          http://svnweb.midnightbsd.org/src/?rev=10681
Author:   laffer1
Date:     2018-06-09 15:51:13 -0400 (Sat, 09 Jun 2018)
Log Message:
-----------
visibility

Modified Paths:
--------------
    trunk/include/string.h

Modified: trunk/include/string.h
===================================================================
--- trunk/include/string.h	2018-06-09 19:50:05 UTC (rev 10680)
+++ trunk/include/string.h	2018-06-09 19:51:13 UTC (rev 10681)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -27,7 +28,7 @@
  * SUCH DAMAGE.
  *
  *	@(#)string.h	8.1 (Berkeley) 6/2/93
- * $MidnightBSD$
+ * $FreeBSD: stable/10/include/string.h 246803 2013-02-14 19:26:58Z zeising $
  */
 
 #ifndef _STRING_H_
@@ -74,6 +75,9 @@
 #endif
 char	*strcat(char * __restrict, const char * __restrict);
 char	*strchr(const char *, int) __pure;
+#if __BSD_VISIBLE
+char	*strchrnul(const char*, int) __pure;
+#endif
 int	 strcmp(const char *, const char *) __pure;
 int	 strcoll(const char *, const char *);
 char	*strcpy(char * __restrict, const char * __restrict);



More information about the Midnightbsd-cvs mailing list