andyhhp from SRCF told me to put "void" into functions that take no parameter.

This commit is contained in:
Fufu Fang 2019-09-03 22:37:27 +01:00
parent b6777c0478
commit 79004cb7ee
No known key found for this signature in database
GPG Key ID: 0F6BB5EF6F8BB729
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ void PTHREAD_MUTEX_LOCK(pthread_mutex_t *x)
} }
} }
void exit_failure() void exit_failure(void)
{ {
int nptrs; int nptrs;
void *buffer[BT_BUF_SIZE]; void *buffer[BT_BUF_SIZE];

View File

@ -46,7 +46,7 @@ void PTHREAD_MUTEX_UNLOCK(pthread_mutex_t *x);
/** /**
* \brief wrapper for exit(EXIT_FAILURE) * \brief wrapper for exit(EXIT_FAILURE)
*/ */
void exit_failure(); void exit_failure(void);
/** /**