Fixed up most "warning: function declaration isn't a prototype" warnings from Xprint/
This commit is contained in:
parent
839305bac9
commit
71dd44b0ad
|
@ -378,7 +378,7 @@ PrinterOptions(
|
||||||
char **argv,
|
char **argv,
|
||||||
int i)
|
int i)
|
||||||
{
|
{
|
||||||
extern void ddxUseMsg();
|
extern void ddxUseMsg(void);
|
||||||
if(strcmp(argv[i], "-XpFile") == 0)
|
if(strcmp(argv[i], "-XpFile") == 0)
|
||||||
{
|
{
|
||||||
if ((i + 1) >= argc) {
|
if ((i + 1) >= argc) {
|
||||||
|
@ -693,7 +693,7 @@ StoreDriverNames(void)
|
||||||
* from the printerDb is store in the attribute store for the printer.
|
* from the printerDb is store in the attribute store for the printer.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
StoreDescriptors()
|
StoreDescriptors(void)
|
||||||
{
|
{
|
||||||
PrinterDbPtr pEntry;
|
PrinterDbPtr pEntry;
|
||||||
|
|
||||||
|
@ -1709,9 +1709,7 @@ GenericScreenInit(
|
||||||
* freeing the associated memory.
|
* freeing the associated memory.
|
||||||
*/
|
*/
|
||||||
static char *
|
static char *
|
||||||
QualifyName(fileName, searchPath)
|
QualifyName(char *fileName, char *searchPath)
|
||||||
char *fileName;
|
|
||||||
char *searchPath;
|
|
||||||
{
|
{
|
||||||
char * curPath = searchPath;
|
char * curPath = searchPath;
|
||||||
char * nextPath;
|
char * nextPath;
|
||||||
|
|
|
@ -158,7 +158,7 @@ static char NULL_STRING[] = "\0";
|
||||||
* where the print server configuration directory is localed.
|
* where the print server configuration directory is localed.
|
||||||
*/
|
*/
|
||||||
static
|
static
|
||||||
char *XpGetConfigDirBase()
|
char *XpGetConfigDirBase(void)
|
||||||
{
|
{
|
||||||
char *configDir;
|
char *configDir;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue