summaryrefslogtreecommitdiff
path: root/libiberty/stpncpy.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2003-04-16 04:55:31 +0000
committerDJ Delorie <dj@delorie.com>2003-04-16 04:55:31 +0000
commit4eead911d1055a781d69fe273407ea0644d6bddd (patch)
tree58dc64e9133aebb297c65a7cc4ea0cc7a65e2e37 /libiberty/stpncpy.c
parent73cb3f0c8ad2c4fd21b5c6510e8a58f66d6e99db (diff)
downloadbinutils-redhat-4eead911d1055a781d69fe273407ea0644d6bddd.tar.gz
Diffstat (limited to 'libiberty/stpncpy.c')
-rw-r--r--libiberty/stpncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/stpncpy.c b/libiberty/stpncpy.c
index 0984340ba2..cb67b4dbab 100644
--- a/libiberty/stpncpy.c
+++ b/libiberty/stpncpy.c
@@ -39,7 +39,7 @@ strlen(@var{src}).
#endif
extern size_t strlen PARAMS ((const char *));
-extern PTR strncpy PARAMS ((char *, const char *, size_t));
+extern char *strncpy PARAMS ((char *, const char *, size_t));
char *
stpncpy (dst, src, len)