aboutsummaryrefslogtreecommitdiff
path: root/libiberty/stpncpy.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-04-16 04:55:31 +0000
committerDJ Delorie <dj@redhat.com>2003-04-16 04:55:31 +0000
commitb496f1528d91b103fab0586fba7b1f73ed4faeba (patch)
tree1f2c5c9930c51dbb91be1f28d8c9062c495a47e9 /libiberty/stpncpy.c
parent10b57b38b38d1308425d0d372884fd1a0fffec06 (diff)
downloadgdb-b496f1528d91b103fab0586fba7b1f73ed4faeba.zip
gdb-b496f1528d91b103fab0586fba7b1f73ed4faeba.tar.gz
gdb-b496f1528d91b103fab0586fba7b1f73ed4faeba.tar.bz2
merge from gcc
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 0984340..cb67b4d 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)