Imported Upstream version 0.17
[platform/upstream/json-c.git] / tests / test_charcase.c
index 208a782..8ffcb68 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
 #include <stddef.h>
 #include <stdio.h>
@@ -19,7 +22,7 @@ int main(int argc, char **argv)
 }
 
 /* make sure only lowercase forms are parsed in strict mode */
-static void test_case_parse()
+static void test_case_parse(void)
 {
        struct json_tokener *tok;
        json_object *new_obj;