aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)