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:
parent
2c3c4060fd
commit
0a28516a6e
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user