summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorMichael Clark <michael@metaparadigm.com>2009-02-25 01:45:00 +0000
committerMichael Clark <michael@metaparadigm.com>2009-02-25 01:45:00 +0000
commite8de07880652465a3894124258796846832f0fff (patch)
tree26456611304c8876b83cbb11870436d0c4f03329 /debug.c
parent75d0f12135e93af51253c248ca17da9c8f6bcda5 (diff)
downloadjson-c-e8de07880652465a3894124258796846832f0fff.tar.gz
* 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
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
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)
{