andyhhp from SRCF told me to put "void" into functions that take no parameter.
This commit is contained in:
parent
b6777c0478
commit
79004cb7ee
|
@ -58,7 +58,7 @@ void PTHREAD_MUTEX_LOCK(pthread_mutex_t *x)
|
|||
}
|
||||
}
|
||||
|
||||
void exit_failure()
|
||||
void exit_failure(void)
|
||||
{
|
||||
int nptrs;
|
||||
void *buffer[BT_BUF_SIZE];
|
||||
|
|
|
@ -46,7 +46,7 @@ void PTHREAD_MUTEX_UNLOCK(pthread_mutex_t *x);
|
|||
/**
|
||||
* \brief wrapper for exit(EXIT_FAILURE)
|
||||
*/
|
||||
void exit_failure();
|
||||
void exit_failure(void);
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue