From e1e9c254660244756a72ecfcfff81c15fb32a6e9 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 8 Oct 2005 14:54:41 -0700 Subject: 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 --- mailinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mailinfo.c') diff --git a/mailinfo.c b/mailinfo.c index df470bb9c2..cb853df993 100644 --- a/mailinfo.c +++ b/mailinfo.c @@ -9,6 +9,10 @@ #include #include +#ifdef NO_STRCASESTR +extern char *gitstrcasestr(const char *haystack, const char *needle); +#endif + static FILE *cmitmsg, *patchfile; static int keep_subject = 0; -- cgit v1.2.3