sparse fixup: warning: non-ANSI function declaration of function '...'

This commit is contained in:
Sven-Haegar Koch 2011-05-28 03:57:20 +02:00 committed by Guus Sliepen
parent d772289f6d
commit f4010694b3
10 changed files with 15 additions and 19 deletions

View file

@ -143,7 +143,7 @@ static void keyexpire_handler(int fd, short events, void *data) {
regenerate_key();
}
void regenerate_key() {
void regenerate_key(void) {
if(timeout_initialized(&keyexpire_event)) {
ifdebug(STATUS) logger(LOG_INFO, "Expiring symmetric keys");
event_del(&keyexpire_event);