summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-13 01:22:51 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-13 02:02:10 -0700
commitb79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 (patch)
treed0c81d1b53c03aefe4cdad33f6c4a80ca6c290da /config.c
parent334d28ae606c2d007803594cfc20d9e7997c0543 (diff)
downloadgit-b79d18c92d9f4841a6a1a29b7b2373a8ff9871e1.tar.gz
-Wold-style-definition fix
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 58d3ed5d37..e323153ae4 100644
--- a/config.c
+++ b/config.c
@@ -523,7 +523,7 @@ static int store_aux(const char* key, const char* value)
return 0;
}
-static int write_error()
+static int write_error(void)
{
fprintf(stderr, "Failed to write new configuration file\n");