lib/idcache: add void to function declaration [smatch scan]

lib/idcache.c:29:29: warning: non-ANSI function declaration of function
'new_idcache'

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-02-12 08:25:03 +00:00 committed by Karel Zak
parent 2ba641e5f3
commit a2c8c533ce
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ struct identry *get_id(struct idcache *ic, unsigned long int id)
return NULL;
}
struct idcache *new_idcache()
struct idcache *new_idcache(void)
{
return calloc(1, sizeof(struct idcache));
}