From b61ee18b72d8b2c2d21ca68dc8566a09a76683fb Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 17 Jul 2008 18:16:59 -0700 Subject: [PATCH] Make xstrcasestr prototype return value match the implementation (cherry picked from 3b687ffe1649449b3d182f5e7690274c6c96916a commit) --- include/dix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dix.h b/include/dix.h index ea83e1161..64035fec7 100644 --- a/include/dix.h +++ b/include/dix.h @@ -566,7 +566,7 @@ extern int xstrncasecmp(const char *s1, const char *s2, size_t n); #if NEED_STRCASESTR #define strcasestr xstrcasestr -extern int xstrcasestr(const char *s, const char *find); +extern char *xstrcasestr(const char *s, const char *find); #endif /*