From a2c8c533ce3bbc6a803e8f9e81cb22e7f52db8ef Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 12 Feb 2017 08:25:03 +0000 Subject: 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 --- lib/idcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/idcache.c') diff --git a/lib/idcache.c b/lib/idcache.c index 3c358b8a8..a1a957b93 100644 --- a/lib/idcache.c +++ b/lib/idcache.c @@ -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)); } -- cgit v1.2.3-55-g7522