diff options
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 23d0edc..2a85696 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -89,7 +89,7 @@ static int kwsysProcessGetTimeoutTime(kwsysProcess* cp, double* userTimeout, kwsysProcessTime* timeoutTime); static int kwsysProcessGetTimeoutLeft(kwsysProcessTime* timeoutTime, kwsysProcessTime* timeoutLength); -static kwsysProcessTime kwsysProcessTimeGetCurrent(); +static kwsysProcessTime kwsysProcessTimeGetCurrent(void); static double kwsysProcessTimeToDouble(kwsysProcessTime t); static kwsysProcessTime kwsysProcessTimeFromDouble(double d); static int kwsysProcessTimeLess(kwsysProcessTime in1, kwsysProcessTime in2); @@ -97,7 +97,7 @@ static kwsysProcessTime kwsysProcessTimeAdd(kwsysProcessTime in1, kwsysProcessTi static kwsysProcessTime kwsysProcessTimeSubtract(kwsysProcessTime in1, kwsysProcessTime in2); static void kwsysProcessSetExitException(kwsysProcess* cp, int sig); static void kwsysProcessChildErrorExit(int errorPipe); -static void kwsysProcessRestoreDefaultSignalHandlers(); +static void kwsysProcessRestoreDefaultSignalHandlers(void); /*--------------------------------------------------------------------------*/ /* Structure containing data used to implement the child's execution. */ @@ -184,7 +184,7 @@ struct kwsysProcess_s }; /*--------------------------------------------------------------------------*/ -kwsysProcess* kwsysProcess_New() +kwsysProcess* kwsysProcess_New(void) { /* Allocate a process control structure. */ kwsysProcess* cp = (kwsysProcess*)malloc(sizeof(kwsysProcess)); @@ -1407,7 +1407,7 @@ static int kwsysProcessGetTimeoutLeft(kwsysProcessTime* timeoutTime, } /*--------------------------------------------------------------------------*/ -static kwsysProcessTime kwsysProcessTimeGetCurrent() +static kwsysProcessTime kwsysProcessTimeGetCurrent(void) { kwsysProcessTime current; gettimeofday(¤t, 0); @@ -1609,7 +1609,7 @@ static void kwsysProcessChildErrorExit(int errorPipe) /*--------------------------------------------------------------------------*/ /* Restores all signal handlers to their default values. */ -static void kwsysProcessRestoreDefaultSignalHandlers() +static void kwsysProcessRestoreDefaultSignalHandlers(void) { struct sigaction act; memset(&act, 0, sizeof(struct sigaction)); |