summaryrefslogtreecommitdiff
path: root/json/void-prototypes.jmb1.p
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-06-23 22:40:25 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-06-23 22:40:25 +0000
commit7b30a5520cfb56e651f0eb4da85a3e07747da7dc (patch)
tree5d6281c071c089e1e7a8ae6f8044cecaf6a7db16 /json/void-prototypes.jmb1.p
downloadlibhubbub-7b30a5520cfb56e651f0eb4da85a3e07747da7dc.tar.gz
libhubbub-7b30a5520cfb56e651f0eb4da85a3e07747da7dc.tar.bz2
Import hubbub -- an HTML parsing library.
Plenty of work still to do (like tree generation ;) svn path=/trunk/hubbub/; revision=3359
Diffstat (limited to 'json/void-prototypes.jmb1.p')
-rw-r--r--json/void-prototypes.jmb1.p45
1 files changed, 45 insertions, 0 deletions
diff --git a/json/void-prototypes.jmb1.p b/json/void-prototypes.jmb1.p
new file mode 100644
index 0000000..db71ffe
--- /dev/null
+++ b/json/void-prototypes.jmb1.p
@@ -0,0 +1,45 @@
+diff -urw json-c-0.7/debug.h json-c-0.7-jmb/debug.h
+--- json-c-0.7/debug.h 2007-03-13 08:25:39.000000000 +0000
++++ json-c-0.7-jmb/debug.h 2007-06-22 23:52:37.000000000 +0100
+@@ -13,7 +13,7 @@
+ #define _DEBUG_H_
+
+ extern void mc_set_debug(int debug);
+-extern int mc_get_debug();
++extern int mc_get_debug(void);
+
+ extern void mc_set_syslog(int syslog);
+ extern void mc_abort(const char *msg, ...);
+diff -urw json-c-0.7/json_object.h json-c-0.7-jmb/json_object.h
+--- json-c-0.7/json_object.h 2007-03-13 08:25:39.000000000 +0000
++++ json-c-0.7-jmb/json_object.h 2007-06-22 23:53:10.000000000 +0100
+@@ -98,7 +98,7 @@
+ /** Create a new empty object
+ * @returns a json_object of type json_type_object
+ */
+-extern struct json_object* json_object_new_object();
++extern struct json_object* json_object_new_object(void);
+
+ /** Get the hashtable of a json_object of type json_type_object
+ * @param obj the json_object instance
+@@ -167,7 +167,7 @@
+ /** Create a new empty json_object of type json_type_array
+ * @returns a json_object of type json_type_array
+ */
+-extern struct json_object* json_object_new_array();
++extern struct json_object* json_object_new_array(void);
+
+ /** Get the arraylist of a json_object of type json_type_array
+ * @param obj the json_object instance
+diff -urw json-c-0.7/json_tokener.h json-c-0.7-jmb/json_tokener.h
+--- json-c-0.7/json_tokener.h 2007-03-13 08:25:39.000000000 +0000
++++ json-c-0.7-jmb/json_tokener.h 2007-06-22 23:53:26.000000000 +0100
+@@ -79,7 +79,7 @@
+
+ extern const char* json_tokener_errors[];
+
+-extern struct json_tokener* json_tokener_new();
++extern struct json_tokener* json_tokener_new(void);
+ extern void json_tokener_free(struct json_tokener *tok);
+ extern void json_tokener_reset(struct json_tokener *tok);
+ extern struct json_object* json_tokener_parse(char *str);