diff options
author | Sami Kerola | 2017-02-12 09:25:03 +0100 |
---|---|---|
committer | Karel Zak | 2017-02-20 13:00:58 +0100 |
commit | a2c8c533ce3bbc6a803e8f9e81cb22e7f52db8ef (patch) | |
tree | 4aa1f18a1ca748e8f414b3cda9972fecc3ded4ed | |
parent | misc: add static keyword to where needed [smatch scan] (diff) | |
download | kernel-qcow2-util-linux-a2c8c533ce3bbc6a803e8f9e81cb22e7f52db8ef.tar.gz kernel-qcow2-util-linux-a2c8c533ce3bbc6a803e8f9e81cb22e7f52db8ef.tar.xz kernel-qcow2-util-linux-a2c8c533ce3bbc6a803e8f9e81cb22e7f52db8ef.zip |
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>
-rw-r--r-- | lib/idcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |