summaryrefslogtreecommitdiff
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
commit051b026a6dc0c10c2c39f3a4f2ec31146cad9b69 (patch)
tree8e4a2c2df8f843b4636655d882b4ef38a442d2d4
parent20d1db1cff5a26c571851a31e2177714769f9c83 (diff)
downloadgdb-051b026a6dc0c10c2c39f3a4f2ec31146cad9b69.tar.gz
merge from gcc
-rw-r--r--libiberty/stpncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/stpncpy.c b/libiberty/stpncpy.c
index 0984340ba2c..cb67b4dbab1 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)