summaryrefslogtreecommitdiff
path: root/libc/string/i386/strncpy.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/string/i386/strncpy.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/string/i386/strncpy.c')
-rw-r--r--libc/string/i386/strncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/i386/strncpy.c b/libc/string/i386/strncpy.c
index dde4d3ee1..c061fe37e 100644
--- a/libc/string/i386/strncpy.c
+++ b/libc/string/i386/strncpy.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strncpy)
char *strncpy(char * dest, const char * src, size_t count)
{
int d0, d1, d2, d3;
@@ -52,5 +53,4 @@ char *strncpy(char * dest, const char * src, size_t count)
:"0" (src),"1" (dest),"2" (count) : "memory");
return dest;
}
-libc_hidden_proto(strncpy)
libc_hidden_def(strncpy)