summaryrefslogtreecommitdiffstats
path: root/contrib/diff
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-01-08 06:40:35 +0000
committerpeter <peter@FreeBSD.org>2003-01-08 06:40:35 +0000
commit62808c26185f6553517dd7188b7e420f6b0ebc5e (patch)
tree6fba46eb1094932d7dcf7df2e82878387ac533ee /contrib/diff
parent1848372445b1229b0b544b84ac4d0edb611774af (diff)
downloadFreeBSD-src-62808c26185f6553517dd7188b7e420f6b0ebc5e.zip
FreeBSD-src-62808c26185f6553517dd7188b7e420f6b0ebc5e.tar.gz
Add #include "diff.h" in order to get the prototype for xmalloc().
The corresponding warning has been ignored for ages: prepend_args.c:75: warning: initialization makes pointer from integer without a cast This is fatal on ia64. You cannot convert an implicit int return from an undeclared function to a pointer as you've lost the upper 32 bits. On ia64, the warning is "pointer from different sized integer". (This file is not vendor branched)
Diffstat (limited to 'contrib/diff')
-rw-r--r--contrib/diff/prepend_args.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/diff/prepend_args.c b/contrib/diff/prepend_args.c
index 27f6da4..5dee55e 100644
--- a/contrib/diff/prepend_args.c
+++ b/contrib/diff/prepend_args.c
@@ -23,6 +23,7 @@
# include <config.h>
#endif
#include "system.h"
+#include "diff.h"
#include "prepend_args.h"
OpenPOWER on IntegriCloud