mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Use 'void' for zero-argument functions
According to the C standard, it is desirable to give the type 'void' to functions have no argument. Closes #1631
This commit is contained in:
@ -72,7 +72,7 @@ void appendServerSaveParams(time_t seconds, int changes) {
|
||||
server.saveparamslen++;
|
||||
}
|
||||
|
||||
void resetServerSaveParams() {
|
||||
void resetServerSaveParams(void) {
|
||||
zfree(server.saveparams);
|
||||
server.saveparams = NULL;
|
||||
server.saveparamslen = 0;
|
||||
|
Reference in New Issue
Block a user