diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-08 14:54:41 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-08 14:54:41 -0700 |
commit | e1e9c254660244756a72ecfcfff81c15fb32a6e9 (patch) | |
tree | 169670b42ad3ba9768eba780dcb8ad2c4dc64945 /mailinfo.c | |
parent | 33bb218e9d7299f6ed06177c65d357ec81954ca9 (diff) | |
download | git-e1e9c254660244756a72ecfcfff81c15fb32a6e9.tar.gz |
Give proper prototype to gitstrcasestr.
Borrow from NO_MMAP patch by Johannes, squelch compiler warnings by
declaring gitstrcasestr() when we use it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'mailinfo.c')
-rw-r--r-- | mailinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mailinfo.c b/mailinfo.c index df470bb9c2..cb853df993 100644 --- a/mailinfo.c +++ b/mailinfo.c @@ -9,6 +9,10 @@ #include <ctype.h> #include <iconv.h> +#ifdef NO_STRCASESTR +extern char *gitstrcasestr(const char *haystack, const char *needle); +#endif + static FILE *cmitmsg, *patchfile; static int keep_subject = 0; |