More compiler warning fixes for missing prototypes:

Add prototype for XkbSetExtension()
Add #include <ctype.h> for isspace() & isdigit()
Add #include <grp.h> (for initgroups()) and remove extra *
Add prototype for xorgGetVersion()
This commit is contained in:
Alan Coopersmith 2005-07-07 19:07:28 +00:00
parent 2c3c4060fd
commit 0a28516a6e
2 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,7 @@ copyright holders.
#include <stdlib.h>
#include <sys/wait.h>
#include <pwd.h>
#include <grp.h>
#if (defined(sun) && defined(SVR4)) || (defined(SCO))
#include <wchar.h>
#endif
@ -154,7 +155,7 @@ static char NULL_STRING[] = "\0";
static
char *XpGetConfigDirBase()
{
char **configDir;
char *configDir;
/*
* If the XPCONFIGDIR environment variable is not set, then use the

View File

@ -299,6 +299,7 @@ Bool xf86GetAllowMouseOpenFail(void);
Bool xf86IsPc98(void);
void xf86DisableRandR(void);
CARD32 xf86GetVersion(void);
CARD32 xorgGetVersion(void);
CARD32 xf86GetModuleVersion(pointer module);
pointer xf86LoadDrvSubModule(DriverPtr drv, const char *name);
pointer xf86LoadSubModule(ScrnInfoPtr pScrn, const char *name);