1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/a2ps/a2ps-4.14-fix-stpcpy-proto.patch
2019-10-24 18:56:33 +00:00

17 lines
440 B
Diff

=== 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 *