summaryrefslogtreecommitdiff
path: root/mail/pathalias/files/patch-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/pathalias/files/patch-config.h')
-rw-r--r--mail/pathalias/files/patch-config.h32
1 files changed, 31 insertions, 1 deletions
diff --git a/mail/pathalias/files/patch-config.h b/mail/pathalias/files/patch-config.h
index a5f5af24fbec..4abd592e564f 100644
--- a/mail/pathalias/files/patch-config.h
+++ b/mail/pathalias/files/patch-config.h
@@ -1,5 +1,5 @@
--- config.h.orig 1993-03-03 22:10:30.000000000 +0100
-+++ config.h 2013-06-16 15:49:18.000000000 +0200
++++ config.h 2013-06-16 23:36:45.000000000 +0200
@@ -29,7 +29,7 @@
#ifdef MAIN
@@ -9,3 +9,33 @@
#endif /*lint*/
#endif /*MAIN*/
+@@ -64,6 +64,9 @@
+ #define CTYPE_H ctype
+ #endif
+
++#include <stdlib.h>
++#include <string.h>
++
+ /*
+ * malloc/free fine tuned for pathalias.
+ *
+@@ -79,9 +82,7 @@
+ #define calloc(n, s) malloc ((n)*(s))
+ #define free(s)
+ #define cfree(s)
+-extern char *memget();
+ #else /* !MYMALLOC */
+-extern char *calloc();
+ #endif /* MYMALLOC */
+
+ #ifdef STRCHR
+@@ -105,9 +106,6 @@
+
+ #endif /*BZERO*/
+
+-extern char *malloc();
+-extern char *strcpy(), *index(), *rindex();
+-
+ #ifndef STATIC
+
+ #ifdef DEBUG