aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-04-07 01:44:24 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-04-07 01:44:24 +0000
commit856bef3c1713667a5ac7ba1dfc5452a516820080 (patch)
treed286f879dab9e0ae07559143d8c528728e2213af /gnu
parent63a4964eecc6694b422f563ad206334d368d860b (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/tar/port.h5
-rw-r--r--gnu/usr.bin/tar/prepend_args.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/tar/port.h b/gnu/usr.bin/tar/port.h
index 4e65a9ace886c..6999eb4152a33 100644
--- a/gnu/usr.bin/tar/port.h
+++ b/gnu/usr.bin/tar/port.h
@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
along with GNU Tar; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+/* $FreeBSD$ */
+
/* AIX requires this to be the first thing in the file. */
#ifdef __GNUC__
#define alloca __builtin_alloca
@@ -119,6 +121,9 @@ typedef long off_t;
char *malloc (), *realloc ();
char *getenv ();
#endif
+PTR ck_malloc ();
+PTR ck_realloc ();
+char *xmalloc ();
#ifndef _POSIX_VERSION
#ifdef __MSDOS__
diff --git a/gnu/usr.bin/tar/prepend_args.c b/gnu/usr.bin/tar/prepend_args.c
index a4991f2add7e7..211cfab96b5c4 100644
--- a/gnu/usr.bin/tar/prepend_args.c
+++ b/gnu/usr.bin/tar/prepend_args.c
@@ -24,6 +24,7 @@
#endif
#include <sys/param.h>
#include "prepend_args.h"
+#include "port.h"
/* Find the white-space-separated options specified by OPTIONS, and