diff options
author | minskim <minskim> | 2006-06-21 15:18:42 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-06-21 15:18:42 +0000 |
commit | 4187f32407c4a5878dce1b54f731dad87be76368 (patch) | |
tree | 045189828b0852a0ea16b7d81100f845a12de04d /mail/deliver/patches | |
parent | edb7da6cb8666ad1069cc7b954e20a14eb8185bf (diff) | |
download | pkgsrc-4187f32407c4a5878dce1b54f731dad87be76368.tar.gz |
Remove conflicting declaration of malloc(), realloc(), and free(); include
stdlib.h instead.
Diffstat (limited to 'mail/deliver/patches')
-rw-r--r-- | mail/deliver/patches/patch-ah | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/mail/deliver/patches/patch-ah b/mail/deliver/patches/patch-ah index dcc792226c6..3badf094d73 100644 --- a/mail/deliver/patches/patch-ah +++ b/mail/deliver/patches/patch-ah @@ -1,10 +1,29 @@ -$NetBSD: patch-ah,v 1.1 2003/02/08 17:23:08 dmcmahill Exp $ +$NetBSD: patch-ah,v 1.2 2006/06/21 15:18:42 minskim Exp $ ---- header.c.orig Wed Dec 1 21:16:21 1999 -+++ header.c Sat Feb 8 12:16:25 2003 -@@ -38,4 +38,5 @@ +--- header.c.orig 1999-12-02 02:16:21.000000000 +0000 ++++ header.c +@@ -36,7 +36,9 @@ + */ + #include <stdio.h> ++#include <stdlib.h> #include <ctype.h> +#include <string.h> /* + * Manifest constants +@@ -80,14 +82,6 @@ extern int optind, opterr; + extern char *optarg; + + /* +- * Library functions. +- */ +- +-extern char *malloc(); +-extern char *realloc(); +-extern void free(); +- +-/* + * Global data + */ + |