fix function pointer warning in Xprint/Init.c

This commit is contained in:
Greg Kroah-Hartman 2006-06-08 10:17:53 -07:00
parent 9e0c82386a
commit a940b851fa

View File

@ -1601,7 +1601,7 @@ InitPrintDrivers(
} }
if(callInit == TRUE) if(callInit == TRUE)
{ {
Bool (*initFunc)(); Bool (*initFunc)(BFuncArgs);
initFunc = GetInitFunc(pDb->driverName); initFunc = GetInitFunc(pDb->driverName);
if(initFunc(index, pScreen, argc, argv) == FALSE) if(initFunc(index, pScreen, argc, argv) == FALSE)
{ {