source: trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c @ 56498

Last change on this file since 56498 was 56498, checked in by toby@…, 8 years ago

#20867 (a2ps fails build on 10.6 (looks like stpcpy issue))

File size: 386 bytes
Line 
1--- lib/xstrrpl.c.orig  2009-08-28 17:22:42.000000000 -0700
2+++ lib/xstrrpl.c       2009-08-28 17:22:45.000000000 -0700
3@@ -22,8 +22,6 @@
4 #include <assert.h>
5 #include "xstrrpl.h"
6 
7-extern char * stpcpy();
8-
9 /* Perform subsitutions in string.  Result is malloc'd
10    E.g., result = xstrrrpl ("1234", subst) gives result = "112333"
11    where subst = { {"1", "11"}, {"3", "333"}, { "4", ""}}
Note: See TracBrowser for help on using the repository browser.