diff --git a/src/bpt/makeBpt.c b/src/bpt/makeBpt.c index 487319e75..a6ca74974 100644 --- a/src/bpt/makeBpt.c +++ b/src/bpt/makeBpt.c @@ -76,9 +76,7 @@ static void errExit(char *pmessage) exit(-1); } -int main(argc, argv) - int argc; - char **argv; +int main(int argc, char **argv) { char *pbeg; char *pend; diff --git a/src/ca/acctst.c b/src/ca/acctst.c index 8e3eecbc6..da009c5e0 100644 --- a/src/ca/acctst.c +++ b/src/ca/acctst.c @@ -2018,7 +2018,7 @@ void caTaskExitTest ( unsigned interestLevel ) showProgressEnd ( interestLevel ); } -void verifyDataTypeMacros () +void verifyDataTypeMacros (void) { int type; diff --git a/src/db/dbScan.c b/src/db/dbScan.c index 96f64224c..5a372d6a9 100644 --- a/src/db/dbScan.c +++ b/src/db/dbScan.c @@ -153,7 +153,7 @@ static void scanShutdown(void *arg) epicsEventWait(startStopEvent); } -long scanInit() +long scanInit(void) { int i; @@ -392,7 +392,7 @@ int scanpel(int event_number) /* print event list */ return 0; } -int scanpiol() /* print io_event list */ +int scanpiol(void) /* print io_event list */ { io_scan_list *piosl; int prio; @@ -562,7 +562,7 @@ static void periodicTask(void *arg) } -static void initPeriodic() +static void initPeriodic(void) { dbMenu *pmenu; periodic_scan_list *ppsl; diff --git a/src/db/dbTest.h b/src/db/dbTest.h index 0ed19819e..231403a62 100644 --- a/src/db/dbTest.h +++ b/src/db/dbTest.h @@ -43,7 +43,7 @@ epicsShareFunc long epicsShareAPI dbtpf(const char *pname,const char *pvalue); epicsShareFunc long epicsShareAPI dbior( const char *pdrvName,int interest_level); /*Hardware Configuration Report*/ -epicsShareFunc int epicsShareAPI dbhcr(); +epicsShareFunc int epicsShareAPI dbhcr(void); #ifdef __cplusplus } diff --git a/src/dbStatic/dbExpand.c b/src/dbStatic/dbExpand.c index 8a8316185..80c95cabd 100644 --- a/src/dbStatic/dbExpand.c +++ b/src/dbStatic/dbExpand.c @@ -26,7 +26,7 @@ DBBASE *pdbbase = NULL; -void usage() +void usage(void) { fprintf(stderr, "Usage:\n\tdbExpand -Ipath -ooutfile " "-S macro=value file1.dbd file2.dbd ...\n"); diff --git a/src/dev/softDev/devAoSoft.c b/src/dev/softDev/devAoSoft.c index fcd982bf6..d42961000 100644 --- a/src/dev/softDev/devAoSoft.c +++ b/src/dev/softDev/devAoSoft.c @@ -33,10 +33,10 @@ #include "epicsExport.h" /* added for Channel Access Links */ -static long init_record(); +static long init_record(aoRecord *prec); /* Create the dset for devAoSoft */ -static long write_ao(); +static long write_ao(aoRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devAoSoftCallback.c b/src/dev/softDev/devAoSoftCallback.c index cb1aee2bf..b939a1027 100644 --- a/src/dev/softDev/devAoSoftCallback.c +++ b/src/dev/softDev/devAoSoftCallback.c @@ -30,7 +30,7 @@ #include "epicsExport.h" /* Create the dset for devAoSoftCallback */ -static long write_ao(); +static long write_ao(aoRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devBoSoft.c b/src/dev/softDev/devBoSoft.c index a630073e4..5303be7cb 100644 --- a/src/dev/softDev/devBoSoft.c +++ b/src/dev/softDev/devBoSoft.c @@ -31,10 +31,10 @@ #include "boRecord.h" #include "epicsExport.h" -static long init_record(); +static long init_record(boRecord *prec); /* Create the dset for devBoSoft */ -static long write_bo(); +static long write_bo(boRecord *prec); struct { long number; diff --git a/src/dev/softDev/devBoSoftCallback.c b/src/dev/softDev/devBoSoftCallback.c index 9ef0d7884..4fb553f33 100644 --- a/src/dev/softDev/devBoSoftCallback.c +++ b/src/dev/softDev/devBoSoftCallback.c @@ -30,7 +30,7 @@ #include "epicsExport.h" /* Create the dset for devBoCallbackSoft */ -static long write_bo(); +static long write_bo(boRecord *prec); struct { long number; diff --git a/src/dev/softDev/devBoSoftRaw.c b/src/dev/softDev/devBoSoftRaw.c index a66cc864e..5d24e2138 100644 --- a/src/dev/softDev/devBoSoftRaw.c +++ b/src/dev/softDev/devBoSoftRaw.c @@ -31,10 +31,10 @@ #include "epicsExport.h" /* added for Channel Access Links */ -static long init_record(); +static long init_record(boRecord *prec); /* Create the dset for devBoSoftRaw */ -static long write_bo(); +static long write_bo(boRecord *prec); struct { long number; diff --git a/src/dev/softDev/devCalcoutSoft.c b/src/dev/softDev/devCalcoutSoft.c index 2371dec40..f931e6ac0 100644 --- a/src/dev/softDev/devCalcoutSoft.c +++ b/src/dev/softDev/devCalcoutSoft.c @@ -29,7 +29,7 @@ #include "calcoutRecord.h" #include "epicsExport.h" -static long write_calcout(); +static long write_calcout(calcoutRecord *prec); struct { long number; diff --git a/src/dev/softDev/devCalcoutSoftCallback.c b/src/dev/softDev/devCalcoutSoftCallback.c index b1dead1ef..894577af7 100644 --- a/src/dev/softDev/devCalcoutSoftCallback.c +++ b/src/dev/softDev/devCalcoutSoftCallback.c @@ -29,7 +29,7 @@ #include "calcoutRecord.h" #include "epicsExport.h" -static long write_calcout(); +static long write_calcout(calcoutRecord *prec); struct { long number; diff --git a/src/dev/softDev/devHistogramSoft.c b/src/dev/softDev/devHistogramSoft.c index c12c1d07a..e6d1142ea 100644 --- a/src/dev/softDev/devHistogramSoft.c +++ b/src/dev/softDev/devHistogramSoft.c @@ -29,8 +29,8 @@ #include "epicsExport.h" /* Create the dset for devHistogramSoft */ -static long init_record(); -static long read_histogram(); +static long init_record(histogramRecord *prec); +static long read_histogram(histogramRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devLoSoft.c b/src/dev/softDev/devLoSoft.c index 9b73538f2..5a4bdf87c 100644 --- a/src/dev/softDev/devLoSoft.c +++ b/src/dev/softDev/devLoSoft.c @@ -27,8 +27,8 @@ #include "epicsExport.h" /* Create the dset for devLoSoft */ -static long init_record(); -static long write_longout(); +static long init_record(longoutRecord *prec); +static long write_longout(longoutRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devLoSoftCallback.c b/src/dev/softDev/devLoSoftCallback.c index 6fd4a000c..b2d351f3a 100644 --- a/src/dev/softDev/devLoSoftCallback.c +++ b/src/dev/softDev/devLoSoftCallback.c @@ -28,7 +28,7 @@ #include "epicsExport.h" /* Create the dset for devLoSoftCallback */ -static long write_longout(); +static long write_longout(longoutRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devMbboDirectSoft.c b/src/dev/softDev/devMbboDirectSoft.c index 1b61d6a3a..16487c17f 100644 --- a/src/dev/softDev/devMbboDirectSoft.c +++ b/src/dev/softDev/devMbboDirectSoft.c @@ -28,8 +28,8 @@ #include "epicsExport.h" /* Create the dset for devMbboSoft */ -static long init_record(); -static long write_mbbo(); +static long init_record(mbboDirectRecord *prec); +static long write_mbbo(mbboDirectRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devMbboDirectSoftCallback.c b/src/dev/softDev/devMbboDirectSoftCallback.c index 1105dae7a..17a0e7b9f 100644 --- a/src/dev/softDev/devMbboDirectSoftCallback.c +++ b/src/dev/softDev/devMbboDirectSoftCallback.c @@ -27,7 +27,7 @@ #include "epicsExport.h" /* Create the dset for devMbboSoft */ -static long write_mbbo(); +static long write_mbbo(mbboDirectRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devMbboDirectSoftRaw.c b/src/dev/softDev/devMbboDirectSoftRaw.c index 6c1d6106d..c9fb1878f 100644 --- a/src/dev/softDev/devMbboDirectSoftRaw.c +++ b/src/dev/softDev/devMbboDirectSoftRaw.c @@ -29,8 +29,8 @@ /* Create the dset for devMbboDirectSoftRaw */ -static long init_record(); -static long write_mbbo(); +static long init_record(mbboDirectRecord *prec); +static long write_mbbo(mbboDirectRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devMbboSoft.c b/src/dev/softDev/devMbboSoft.c index 685752878..5fc12373d 100644 --- a/src/dev/softDev/devMbboSoft.c +++ b/src/dev/softDev/devMbboSoft.c @@ -28,8 +28,8 @@ #include "epicsExport.h" /* Create the dset for devMbboSoft */ -static long init_record(); -static long write_mbbo(); +static long init_record(mbboRecord *prec); +static long write_mbbo(mbboRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devMbboSoftCallback.c b/src/dev/softDev/devMbboSoftCallback.c index 04d15d11f..5f39af0a8 100644 --- a/src/dev/softDev/devMbboSoftCallback.c +++ b/src/dev/softDev/devMbboSoftCallback.c @@ -27,7 +27,7 @@ #include "epicsExport.h" /* Create the dset for devMbboSoftCallback */ -static long write_mbbo(); +static long write_mbbo(mbboRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devMbboSoftRaw.c b/src/dev/softDev/devMbboSoftRaw.c index 1842787cd..21261d1b3 100644 --- a/src/dev/softDev/devMbboSoftRaw.c +++ b/src/dev/softDev/devMbboSoftRaw.c @@ -27,8 +27,8 @@ #include "epicsExport.h" /* Create the dset for devMbboSoftRaw */ -static long init_record(); -static long write_mbbo(); +static long init_record(mbboRecord *prec); +static long write_mbbo(mbboRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devSiSoft.c b/src/dev/softDev/devSiSoft.c index 2e6684ca3..bc5cda46c 100644 --- a/src/dev/softDev/devSiSoft.c +++ b/src/dev/softDev/devSiSoft.c @@ -28,8 +28,8 @@ #include "epicsExport.h" /* Create the dset for devSiSoft */ -static long init_record(); -static long read_stringin(); +static long init_record(stringinRecord *prec); +static long read_stringin(stringinRecord *prec); struct { long number; diff --git a/src/dev/softDev/devSoSoft.c b/src/dev/softDev/devSoSoft.c index 6b3e61db8..bdda3a326 100644 --- a/src/dev/softDev/devSoSoft.c +++ b/src/dev/softDev/devSoSoft.c @@ -27,7 +27,7 @@ #include "epicsExport.h" /* Create the dset for devSoSoft */ -static long write_stringout(); +static long write_stringout(stringoutRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/dev/softDev/devSoSoftCallback.c b/src/dev/softDev/devSoSoftCallback.c index 6257a34dc..0d7bbf65f 100644 --- a/src/dev/softDev/devSoSoftCallback.c +++ b/src/dev/softDev/devSoSoftCallback.c @@ -27,7 +27,7 @@ #include "epicsExport.h" /* Create the dset for devSoSoftCallback */ -static long write_stringout(); +static long write_stringout(stringoutRecord *prec); struct { long number; DEVSUPFUN report; diff --git a/src/gdd/aitGen.c b/src/gdd/aitGen.c index a7caef67c..5d44894ca 100644 --- a/src/gdd/aitGen.c +++ b/src/gdd/aitGen.c @@ -76,7 +76,7 @@ static FILE *dfd; /* * maximum, minimum value for each ait type - joh */ -void initMinMaxAIT () +void initMinMaxAIT (void) { unsigned i; diff --git a/src/libCom/calc/calcPerform.c b/src/libCom/calc/calcPerform.c index f2a364ff4..4e34df766 100644 --- a/src/libCom/calc/calcPerform.c +++ b/src/libCom/calc/calcPerform.c @@ -429,7 +429,7 @@ static unsigned short seed = 0xa3bf; static unsigned short multy = 191 * 8 + 5; /* 191 % 8 == 5 */ static unsigned short addy = 0x3141; -static double calcRandom() +static double calcRandom(void) { seed = (seed * multy) + addy; diff --git a/src/libCom/env/envSubr.c b/src/libCom/env/envSubr.c index f116ab66a..d4cb7024f 100644 --- a/src/libCom/env/envSubr.c +++ b/src/libCom/env/envSubr.c @@ -368,7 +368,7 @@ const ENV_PARAM *pParam) /* pointer to config param structure */ * *-*/ long epicsShareAPI -epicsPrtEnvParams() +epicsPrtEnvParams(void) { const ENV_PARAM **ppParam = env_param_list; diff --git a/src/libCom/error/errSymLib.c b/src/libCom/error/errSymLib.c index cb76ed2fe..936c2a6fc 100644 --- a/src/libCom/error/errSymLib.c +++ b/src/libCom/error/errSymLib.c @@ -62,7 +62,7 @@ extern ERRSYMTAB_ID errSymTbl; * ell nodes that have a common hash number. * ***************************************************************/ -int epicsShareAPI errSymBld() +int epicsShareAPI errSymBld(void) { ERRSYMBOL *errArray = errSymTbl->symbols; ELLLIST *perrnumlist = &errnumlist; @@ -245,7 +245,7 @@ void epicsShareAPI errSymLookup (long status, char * pBuf, unsigned bufLength) /**************************************************************** * errSymDump ***************************************************************/ -void epicsShareAPI errSymDump() +void epicsShareAPI errSymDump(void) { ERRNUMNODE **phashnode = NULL; ERRNUMNODE *pNextNode; diff --git a/src/libCom/error/errlog.c b/src/libCom/error/errlog.c index ccc28c744..cb129aef5 100644 --- a/src/libCom/error/errlog.c +++ b/src/libCom/error/errlog.c @@ -279,7 +279,7 @@ epicsShareFunc void epicsShareAPI errlogSetSevToLog( pvtData.sevToLog = severity; } -epicsShareFunc errlogSevEnum epicsShareAPI errlogGetSevToLog() +epicsShareFunc errlogSevEnum epicsShareAPI errlogGetSevToLog(void) { errlogInit(0); return pvtData.sevToLog; @@ -512,7 +512,7 @@ static void errlogThread(void) epicsEventSignal(pvtData.waitForExit); } -static msgNode *msgbufGetNode() +static msgNode *msgbufGetNode(void) { char *pbuffer = (char *)pvtData.pbuffer; msgNode *pnextSend = 0; @@ -597,7 +597,7 @@ static char * msgbufGetSend(int *noConsoleMessage) return(pnextSend->message); } -static void msgbufFreeSend() +static void msgbufFreeSend(void) { msgNode *pnextSend; diff --git a/src/libCom/iocsh/registry.c b/src/libCom/iocsh/registry.c index fda15ff44..89b50ccca 100644 --- a/src/libCom/iocsh/registry.c +++ b/src/libCom/iocsh/registry.c @@ -77,7 +77,7 @@ epicsShareFunc void * epicsShareAPI registryFind( return(pentry->userPvt); } -epicsShareFunc void epicsShareAPI registryFree() +epicsShareFunc void epicsShareAPI registryFree(void) { if(!gphPvt) return; gphFreeMem(gphPvt); diff --git a/src/libCom/iocsh/registry.h b/src/libCom/iocsh/registry.h index b612073c1..ea1bb7ce7 100644 --- a/src/libCom/iocsh/registry.h +++ b/src/libCom/iocsh/registry.h @@ -25,7 +25,7 @@ epicsShareFunc int epicsShareAPI registryChange( void *registryID,const char *name,void *data); epicsShareFunc int epicsShareAPI registrySetTableSize(int size); -epicsShareFunc void epicsShareAPI registryFree(); +epicsShareFunc void epicsShareAPI registryFree(void); epicsShareFunc int epicsShareAPI registryDump(void); #ifdef __cplusplus diff --git a/src/libCom/logClient/iocLog.c b/src/libCom/logClient/iocLog.c index fd84f4ac1..a5a46dcec 100644 --- a/src/libCom/logClient/iocLog.c +++ b/src/libCom/logClient/iocLog.c @@ -72,7 +72,7 @@ LOCAL int getConfig (struct in_addr *pserver_addr, unsigned short *pserver_port) /* * iocLogFlush () */ -void epicsShareAPI epicsShareAPI iocLogFlush () +void epicsShareAPI epicsShareAPI iocLogFlush (void) { if (iocLogClient!=NULL) { logClientFlush (iocLogClient); @@ -139,7 +139,7 @@ void epicsShareAPI iocLogShow (unsigned level) /* * logClientInit(); deprecated */ -logClientId epicsShareAPI logClientInit () +logClientId epicsShareAPI logClientInit (void) { return iocLogClientInit (); } diff --git a/src/libCom/logClient/iocLog.h b/src/libCom/logClient/iocLog.h index 82fc4fa3a..b6f7ddf6e 100644 --- a/src/libCom/logClient/iocLog.h +++ b/src/libCom/logClient/iocLog.h @@ -29,7 +29,7 @@ extern "C" { epicsShareExtern int iocLogDisable; epicsShareFunc int epicsShareAPI iocLogInit (void); epicsShareFunc void epicsShareAPI iocLogShow (unsigned level); -epicsShareFunc void epicsShareAPI iocLogFlush (); +epicsShareFunc void epicsShareAPI iocLogFlush (void); #ifdef __cplusplus } diff --git a/src/libCom/misc/epicsExit.c b/src/libCom/misc/epicsExit.c index 8d1affb05..0280000a2 100644 --- a/src/libCom/misc/epicsExit.c +++ b/src/libCom/misc/epicsExit.c @@ -56,7 +56,7 @@ static void destroyExitPvt ( exitPvt * pep ) free ( pep ); } -static exitPvt * createExitPvt () +static exitPvt * createExitPvt (void) { exitPvt * pep = calloc ( 1, sizeof ( * pep ) ); if ( pep ) { diff --git a/src/libCom/misc/epicsUnitTest.c b/src/libCom/misc/epicsUnitTest.c index 580c32f2b..6ae84b31c 100644 --- a/src/libCom/misc/epicsUnitTest.c +++ b/src/libCom/misc/epicsUnitTest.c @@ -130,7 +130,7 @@ void testTodoBegin(const char *why) { epicsMutexUnlock(testLock); } -void testTodoEnd() { +void testTodoEnd(void) { todo = NULL; } diff --git a/src/libCom/misc/epicsUnitTest.h b/src/libCom/misc/epicsUnitTest.h index b6fb6d23d..9ac243d12 100644 --- a/src/libCom/misc/epicsUnitTest.h +++ b/src/libCom/misc/epicsUnitTest.h @@ -28,7 +28,7 @@ epicsShareFunc void testFail(const char *fmt, ...) EPICS_PRINTF_STYLE(1, 2); epicsShareFunc void testSkip(int skip, const char *why); epicsShareFunc void testTodoBegin(const char *why); -epicsShareFunc void testTodoEnd(); +epicsShareFunc void testTodoEnd(void); epicsShareFunc int testDiag(const char *fmt, ...) EPICS_PRINTF_STYLE(1, 2); epicsShareFunc void testAbort(const char *fmt, ...) diff --git a/src/libCom/taskwd/taskwd.c b/src/libCom/taskwd/taskwd.c index 882951224..4f7469288 100644 --- a/src/libCom/taskwd/taskwd.c +++ b/src/libCom/taskwd/taskwd.c @@ -161,7 +161,7 @@ static void twdInitOnce(void *arg) epicsAtExit(twdShutdown, NULL); } -void taskwdInit() +void taskwdInit(void) { static epicsThreadOnceId twdOnceFlag = EPICS_THREAD_ONCE_INIT; epicsThreadOnce(&twdOnceFlag, twdInitOnce, NULL); diff --git a/src/libCom/test/epicsStdioTest.c b/src/libCom/test/epicsStdioTest.c index d72fe7d57..15f153198 100644 --- a/src/libCom/test/epicsStdioTest.c +++ b/src/libCom/test/epicsStdioTest.c @@ -29,7 +29,7 @@ #define LINE_1 "# This is first line of sample report\n" #define LINE_2 "# This is second and last line of sample report\n" -static void testEpicsSnprintf() { +static void testEpicsSnprintf(void) { char exbuffer[80], buffer[80]; const int ivalue = 1234; const float fvalue = 1.23e4; diff --git a/src/libCom/test/epicsStringTest.c b/src/libCom/test/epicsStringTest.c index 1a9b46ead..46b88f7e2 100644 --- a/src/libCom/test/epicsStringTest.c +++ b/src/libCom/test/epicsStringTest.c @@ -17,7 +17,7 @@ #include "epicsString.h" #include "testMain.h" -void testChars() { +void testChars(void) { int i; char input[2] = {0, 0}; char escaped[20]; diff --git a/src/libCom/test/epicsUnitTestTest.c b/src/libCom/test/epicsUnitTestTest.c index 5b4224d5e..ee079a491 100644 --- a/src/libCom/test/epicsUnitTestTest.c +++ b/src/libCom/test/epicsUnitTestTest.c @@ -16,7 +16,7 @@ #define testOk1_success 1 #define testOk1_failure 0 -int main () { +int main (void) { testPlan(11); testOk(1, "testOk(1)"); testOk(0, "testOk(0)"); diff --git a/src/rec/mbboRecord.c b/src/rec/mbboRecord.c index 64d9f291b..6508830ec 100644 --- a/src/rec/mbboRecord.c +++ b/src/rec/mbboRecord.c @@ -94,7 +94,7 @@ struct mbbodset { /* multi bit binary output dset */ static void checkAlarms(mbboRecord *); static void convert(mbboRecord *); static void monitor(mbboRecord *); -static long writeValue(); +static long writeValue(mbboRecord *); static void init_common(mbboRecord *prec) diff --git a/src/rsrv/camessage.c b/src/rsrv/camessage.c index 15477508f..c42294366 100644 --- a/src/rsrv/camessage.c +++ b/src/rsrv/camessage.c @@ -1570,7 +1570,7 @@ LOCAL void putNotifyErrorReply ( struct client *client, caHdrLargeArray *mp, int SEND_UNLOCK ( client ); } -void initializePutNotifyFreeList () +void initializePutNotifyFreeList (void) { if ( ! rsrvPutNotifyFreeList ) { freeListInitPvt ( &rsrvPutNotifyFreeList, diff --git a/src/rsrv/cast_server.c b/src/rsrv/cast_server.c index 29fd2adfc..524c38d6a 100644 --- a/src/rsrv/cast_server.c +++ b/src/rsrv/cast_server.c @@ -55,7 +55,7 @@ /* * clean_addrq */ -LOCAL void clean_addrq() +LOCAL void clean_addrq(void) { struct channel_in_use * pciu; struct channel_in_use * pnextciu; diff --git a/src/toolsComm/flex/flexdef.h b/src/toolsComm/flex/flexdef.h index 3b68ebd4e..b465eed7c 100644 --- a/src/toolsComm/flex/flexdef.h +++ b/src/toolsComm/flex/flexdef.h @@ -82,7 +82,7 @@ char *sprintf(); /* keep lint happy */ void *memset(); #else #if !defined(ultrix) && !defined(NeXT) && !defined(sgi) && !defined(hppa) && !defined(__osf__) -char *memset(); +char *memset(void *, int, size_t); #endif #endif #endif diff --git a/src/util/iocLogServer.c b/src/util/iocLogServer.c index 92b7471bc..360daaec7 100644 --- a/src/util/iocLogServer.c +++ b/src/util/iocLogServer.c @@ -95,7 +95,7 @@ static int sighupPipe[2]; * main() * */ -int main() +int main(void) { struct sockaddr_in serverAddr; /* server's address */ struct timeval timeout; @@ -953,7 +953,7 @@ static void serviceSighupRequest(void *pParam) * * */ -static int getDirectory() +static int getDirectory(void) { FILE *pipe; char dir[256];