From: Joel Rosdahl Date: Sun, 21 Feb 2010 19:57:57 +0000 (+0100) Subject: Correctly declare nullary functions X-Git-Tag: v3.0pre0~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db73c8536cf5ef51242f28c48d8be6cecc9001c4;p=thirdparty%2Fccache.git Correctly declare nullary functions --- diff --git a/manifest.c b/manifest.c index 8e38668de..ee90780f5 100644 --- a/manifest.c +++ b/manifest.c @@ -188,7 +188,7 @@ static void free_manifest(struct manifest *mf) } \ } while (0) -static struct manifest *create_empty_manifest() +static struct manifest *create_empty_manifest(void) { struct manifest *mf; diff --git a/util.c b/util.c index b4d4beb16..d13de7c75 100644 --- a/util.c +++ b/util.c @@ -691,7 +691,7 @@ const char *get_home_directory(void) * Get the current directory by reading $PWD. If $PWD isn't sane, gnu_getcwd() * is used. */ -char *get_cwd() +char *get_cwd(void) { char *pwd; char *cwd;