From 2e2ce817ce404a5e000c9750fa96f656fed370b8 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 10 Aug 2008 23:07:46 +0200 Subject: Move strcasecmp(), strcasencmp() and strcasestr() prototypes to os.h And make sure os.h is included in files that use it. --- include/dix.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include/dix.h') diff --git a/include/dix.h b/include/dix.h index 64e3d7874..476ec2ecb 100644 --- a/include/dix.h +++ b/include/dix.h @@ -596,22 +596,6 @@ typedef struct { int count; } DeviceEventInfoRec; -/* strcasecmp.c */ -#if NEED_STRCASECMP -#define strcasecmp xstrcasecmp -extern int xstrcasecmp(const char *s1, const char *s2); -#endif - -#if NEED_STRNCASECMP -#define strncasecmp xstrncasecmp -extern int xstrncasecmp(const char *s1, const char *s2, size_t n); -#endif - -#if NEED_STRCASESTR -#define strcasestr xstrcasestr -extern char *xstrcasestr(const char *s, const char *find); -#endif - extern int XItoCoreType(int xi_type); extern Bool DevHasCursor(DeviceIntPtr pDev); extern Bool IsPointerDevice( DeviceIntPtr dev); -- cgit v1.2.3