diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-07 19:17:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-07 19:17:26 -0700 |
commit | 71dd44b0ad617dd36ce4ed328f9e1e8c5ef713a5 (patch) | |
tree | 6478f1b5e4028f2ab07547daa37610df0670f11e | |
parent | 839305bac98856a2bb1d96691e4dcf49db229f90 (diff) |
Fixed up most "warning: function declaration isn't a prototype" warnings from Xprint/
-rw-r--r-- | Xprint/Init.c | 8 | ||||
-rw-r--r-- | Xprint/attributes.c | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/Xprint/Init.c b/Xprint/Init.c index cee9e47cf..9fba6c558 100644 --- a/Xprint/Init.c +++ b/Xprint/Init.c @@ -378,7 +378,7 @@ PrinterOptions( char **argv, int i) { - extern void ddxUseMsg(); + extern void ddxUseMsg(void); if(strcmp(argv[i], "-XpFile") == 0) { if ((i + 1) >= argc) { @@ -693,7 +693,7 @@ StoreDriverNames(void) * from the printerDb is store in the attribute store for the printer. */ static void -StoreDescriptors() +StoreDescriptors(void) { PrinterDbPtr pEntry; @@ -1709,9 +1709,7 @@ GenericScreenInit( * freeing the associated memory. */ static char * -QualifyName(fileName, searchPath) - char *fileName; - char *searchPath; +QualifyName(char *fileName, char *searchPath) { char * curPath = searchPath; char * nextPath; diff --git a/Xprint/attributes.c b/Xprint/attributes.c index 16724e4f8..8e4c811cb 100644 --- a/Xprint/attributes.c +++ b/Xprint/attributes.c @@ -158,7 +158,7 @@ static char NULL_STRING[] = "\0"; * where the print server configuration directory is localed. */ static -char *XpGetConfigDirBase() +char *XpGetConfigDirBase(void) { char *configDir; |