diff options
author | Peter Wemm <peter@FreeBSD.org> | 2003-01-08 06:40:35 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2003-01-08 06:40:35 +0000 |
commit | edf112ec42b7b886a3e9c437d94aad15012c553b (patch) | |
tree | 6fba46eb1094932d7dcf7df2e82878387ac533ee /contrib/diff | |
parent | adb0a474759b3f5aa55b4daf7e568a4bd9eb90e7 (diff) | |
download | src-edf112ec42b7b886a3e9c437d94aad15012c553b.tar.gz src-edf112ec42b7b886a3e9c437d94aad15012c553b.zip |
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)
Notes
Notes:
svn path=/head/; revision=108928
Diffstat (limited to 'contrib/diff')
-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 27f6da47403f..5dee55efccc1 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" |