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:
parent
2ba641e5f3
commit
a2c8c533ce
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue