diff options
author | Colin Walters <walters@verbum.org> | 2010-09-16 16:50:45 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-09-16 16:50:45 -0400 |
commit | 31b2615e1e4fafe6532d38459c4e03eec47681da (patch) | |
tree | 7b6f8070a5c49f6b3a8395045b6d2b644b8fd095 | |
parent | 2621b7ed11d36cdae16f3820ea871526f53318a9 (diff) | |
download | gjs-31b2615e1e4fafe6532d38459c4e03eec47681da.tar.gz |
Fix two prototype compilation warnings
-rw-r--r-- | modules/cairo-private.h | 4 | ||||
-rw-r--r-- | modules/dbus-values.h | 2 | ||||
-rw-r--r-- | modules/dbus.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/modules/cairo-private.h b/modules/cairo-private.h index 67aae0f3..2ba73799 100644 --- a/modules/cairo-private.h +++ b/modules/cairo-private.h @@ -44,6 +44,10 @@ void gjs_cairo_context_init (JSContext *contex /* cairo_path_t */ +jsval gjs_cairo_path_create_proto (JSContext *context, + JSObject *module, + const char *proto_name, + JSObject *parent); JSObject * gjs_cairo_path_from_path (JSContext *context, cairo_path_t *path); cairo_path_t * gjs_cairo_path_get_path (JSContext *context, diff --git a/modules/dbus-values.h b/modules/dbus-values.h index a25de24c..ec9176c6 100644 --- a/modules/dbus-values.h +++ b/modules/dbus-values.h @@ -45,7 +45,7 @@ JSBool gjs_js_one_value_to_dbus (JSContext *context, DBusSignatureIter *sig_iter); void gjs_js_push_current_message (DBusMessage *message); -void gjs_js_pop_current_message (); +void gjs_js_pop_current_message (void); G_END_DECLS diff --git a/modules/dbus.c b/modules/dbus.c index 526be8e6..2322a7c3 100644 --- a/modules/dbus.c +++ b/modules/dbus.c @@ -104,7 +104,7 @@ gjs_js_push_current_message(DBusMessage *message) } void -gjs_js_pop_current_message() +gjs_js_pop_current_message(void) { g_assert(_gjs_current_dbus_messages != NULL); |