From e8de07880652465a3894124258796846832f0fff Mon Sep 17 00:00:00 2001 From: Michael Clark Date: Wed, 25 Feb 2009 01:45:00 +0000 Subject: * Fixed warning reported by adding -Wstrict-prototypes -Wold-style-definition to the compilatin flags. Dotan Barak, dotanba at gmail dot com git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@30 327403b1-1117-474d-bef2-5cb71233fd97 --- debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index f699976..e0294ca 100644 --- a/debug.c +++ b/debug.c @@ -34,7 +34,7 @@ static int _syslog = 0; static int _debug = 0; void mc_set_debug(int debug) { _debug = debug; } -int mc_get_debug() { return _debug; } +int mc_get_debug(void) { return _debug; } extern void mc_set_syslog(int syslog) { -- cgit v1.2.1