diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-07 19:07:28 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-07 19:07:28 +0000 |
commit | 0a28516a6e641b41e674f69fc228b0babbe1743b (patch) | |
tree | 6bd5c6fb5c3dbaa5882677d5fe8ec02fc4bc8bfd | |
parent | 2c3c4060fd2a52f147eda01b11222c341c6e3dee (diff) |
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()
-rw-r--r-- | Xprint/attributes.c | 3 | ||||
-rw-r--r-- | hw/xfree86/common/xf86.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Xprint/attributes.c b/Xprint/attributes.c index 4e6d63f60..2a37e6b57 100644 --- a/Xprint/attributes.c +++ b/Xprint/attributes.c @@ -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 diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 8d74fc808..d73e9ddbe 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -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); |