1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/frink/files/patch-strdup
Mikhail Teterin 4b44fa0d1c Upgrade from 2.1.5 to 2.2.2p4.
Prompted by:	old version's dissapearance from master site
Notified by:	pointyhat (kris)
2005-02-14 17:00:08 +00:00

23 lines
455 B
Plaintext

--- util.h Wed Dec 11 17:21:48 2002
+++ util.h Mon Feb 14 11:47:14 2005
@@ -58,5 +58,5 @@
extern void lapply(List *, void(*)(void *));
-extern char *newString(char *);
+#define newString(t) strdup(t)
extern int doTest(enum Heuristics);
--- util.c Wed Dec 11 18:07:50 2002
+++ util.c Mon Feb 14 11:49:40 2005
@@ -105,10 +105,4 @@
}
-char * newString(char *t)
-{
- return strcpy(malloc(strlen(t)+1), t);
-}
-
-
int doTest(enum Heuristics x)
{