OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / string / generic / strnlen.c
index bdd3bb4..95e8a77 100644 (file)
@@ -24,6 +24,8 @@
 #include <string.h>
 #include <stdlib.h>
 
+libc_hidden_proto(abort)
+
 /* Find the length of S, but scan at most MAXLEN characters.  If no
    '\0' terminator is found in that many characters, return MAXLEN.  */
 size_t strnlen (const char *str, size_t maxlen)
@@ -156,3 +158,5 @@ size_t strnlen (const char *str, size_t maxlen)
     char_ptr = end_ptr;
   return char_ptr - str;
 }
+libc_hidden_proto(strnlen)
+libc_hidden_def(strnlen)