]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - string/strchrnul.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / string / strchrnul.c
index 0db5e23fa8cc03fa5e04938df58d938b6c5e9766..2678f1de0a7142fa6f69713576eaebcfcd9ffcaf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1993-1997,99,2000,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
    with help from Dan Sahlin (dan@sics.se) and
 #undef __strchrnul
 #undef strchrnul
 
+#ifndef STRCHRNUL
+# define STRCHRNUL __strchrnul
+#endif
+
 /* Find the first occurrence of C in S or the final NUL byte.  */
 char *
-__strchrnul (s, c_in)
+STRCHRNUL (s, c_in)
      const char *s;
      int c_in;
 {