diff options
author | peter <peter@FreeBSD.org> | 2003-01-08 06:40:35 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-01-08 06:40:35 +0000 |
commit | 62808c26185f6553517dd7188b7e420f6b0ebc5e (patch) | |
tree | 6fba46eb1094932d7dcf7df2e82878387ac533ee /contrib/diff/prepend_args.c | |
parent | 1848372445b1229b0b544b84ac4d0edb611774af (diff) | |
download | FreeBSD-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/prepend_args.c')
-rw-r--r-- | contrib/diff/prepend_args.c | 1 |
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" |