a2ps-4.14-fix-stpcpy-proto.patch 440 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
=== modified file 'lib/xstrrpl.c'
--- a/lib/xstrrpl.c	2008-04-14 18:04:50 +0000
+++ b/lib/xstrrpl.c	2008-04-14 18:20:20 +0000
@@ -20,12 +20,10 @@
 
 #include "system.h"
 #include <assert.h>
 #include "xstrrpl.h"
 
-extern char * stpcpy();
-
 /* Perform subsitutions in string.  Result is malloc'd
    E.g., result = xstrrrpl ("1234", subst) gives result = "112333"
    where subst = { {"1", "11"}, {"3", "333"}, { "4", ""}}
    */
 char *