From 59c9d3c27c3bcdf995b712db8699f916aeabb01f Mon Sep 17 00:00:00 2001 From: jacob berkman Date: Mon, 11 Feb 2002 16:38:45 +0000 Subject: [PATCH] declare function arguments as (void) rather than () 2002-02-11 jacob berkman * atk/atkselection.[ch] (atk_selection_get_type): * atk/atktable.[ch] (atk_table_get_type): * atk/atkregistry.h (atk_get_default_registry): * atk/atknoopobjectfactory.[ch] (atk_no_op_object_factory_get_type): * atk/atkobjectfactory.[ch] (atk_object_factory_get_type): * atk/atkcomponent.[ch] (atk_component_get_type): * atk/atkaction.[ch] (atk_action_get_type): declare function arguments as (void) rather than () --- ChangeLog | 11 +++++++++++ atk/atkaction.c | 2 +- atk/atkaction.h | 2 +- atk/atkcomponent.c | 2 +- atk/atkcomponent.h | 2 +- atk/atknoopobjectfactory.c | 2 +- atk/atknoopobjectfactory.h | 4 ++-- atk/atkobjectfactory.c | 2 +- atk/atkobjectfactory.h | 2 +- atk/atkregistry.h | 2 +- atk/atkselection.c | 2 +- atk/atkselection.h | 2 +- atk/atktable.c | 2 +- atk/atktable.h | 2 +- 14 files changed, 25 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index a8ba0a4..42b8a0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2002-02-11 jacob berkman + + * atk/atkselection.[ch] (atk_selection_get_type): + * atk/atktable.[ch] (atk_table_get_type): + * atk/atkregistry.h (atk_get_default_registry): + * atk/atknoopobjectfactory.[ch] (atk_no_op_object_factory_get_type): + * atk/atkobjectfactory.[ch] (atk_object_factory_get_type): + * atk/atkcomponent.[ch] (atk_component_get_type): + * atk/atkaction.[ch] (atk_action_get_type): declare function + arguments as (void) rather than () + 2002-02-04 Bill Haneman * configure.in: diff --git a/atk/atkaction.c b/atk/atkaction.c index fbf26f7..201243c 100755 --- a/atk/atkaction.c +++ b/atk/atkaction.c @@ -20,7 +20,7 @@ #include "atkaction.h" GType -atk_action_get_type () +atk_action_get_type (void) { static GType type = 0; diff --git a/atk/atkaction.h b/atk/atkaction.h index d25af79..853d581 100755 --- a/atk/atkaction.h +++ b/atk/atkaction.h @@ -64,7 +64,7 @@ struct _AtkActionIface const gchar *desc); }; -GType atk_action_get_type (); +GType atk_action_get_type (void); /* * These are the function which would be called by an application with diff --git a/atk/atkcomponent.c b/atk/atkcomponent.c index f47dc8e..b67ec13 100755 --- a/atk/atkcomponent.c +++ b/atk/atkcomponent.c @@ -40,7 +40,7 @@ static void atk_component_real_get_size (AtkComponent *comp gint *height); GType -atk_component_get_type () +atk_component_get_type (void) { static GType type = 0; diff --git a/atk/atkcomponent.h b/atk/atkcomponent.h index c1b66d0..4d86b9d 100755 --- a/atk/atkcomponent.h +++ b/atk/atkcomponent.h @@ -94,7 +94,7 @@ struct _AtkComponentIface gint height); }; -GType atk_component_get_type (); +GType atk_component_get_type (void); /* convenience functions */ diff --git a/atk/atknoopobjectfactory.c b/atk/atknoopobjectfactory.c index 5a484f4..2315bfd 100755 --- a/atk/atknoopobjectfactory.c +++ b/atk/atknoopobjectfactory.c @@ -30,7 +30,7 @@ static AtkObject* atk_no_op_object_factory_create_accessible ( static AtkNoOpObjectFactoryClass *parent_class = NULL; GType -atk_no_op_object_factory_get_type () +atk_no_op_object_factory_get_type (void) { static GType type = 0; diff --git a/atk/atknoopobjectfactory.h b/atk/atknoopobjectfactory.h index 1df9231..c324531 100755 --- a/atk/atknoopobjectfactory.h +++ b/atk/atknoopobjectfactory.h @@ -46,9 +46,9 @@ struct _AtkNoOpObjectFactoryClass AtkObjectFactoryClass parent_class; }; -GType atk_no_op_object_factory_get_type(); +GType atk_no_op_object_factory_get_type(void); -AtkObjectFactory *atk_no_op_object_factory_new(); +AtkObjectFactory *atk_no_op_object_factory_new(void); #ifdef __cplusplus } diff --git a/atk/atkobjectfactory.c b/atk/atkobjectfactory.c index 11d3501..14c7615 100755 --- a/atk/atkobjectfactory.c +++ b/atk/atkobjectfactory.c @@ -25,7 +25,7 @@ static void atk_object_factory_class_init (AtkObjectFactoryClass *klass static gpointer parent_class = NULL; GType -atk_object_factory_get_type () +atk_object_factory_get_type (void) { static GType type = 0; diff --git a/atk/atkobjectfactory.h b/atk/atkobjectfactory.h index 98c72b1..bbd5981 100755 --- a/atk/atkobjectfactory.h +++ b/atk/atkobjectfactory.h @@ -51,7 +51,7 @@ struct _AtkObjectFactoryClass GType (* get_accessible_type) (void); }; -GType atk_object_factory_get_type(); +GType atk_object_factory_get_type(void); AtkObject* atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj); void atk_object_factory_invalidate (AtkObjectFactory *factory); diff --git a/atk/atkregistry.h b/atk/atkregistry.h index 52a997d..3ab0414 100644 --- a/atk/atkregistry.h +++ b/atk/atkregistry.h @@ -59,7 +59,7 @@ GType atk_registry_get_factory_type (AtkRegistry *registry, AtkObjectFactory* atk_registry_get_factory (AtkRegistry *registry, GType type); -AtkRegistry* atk_get_default_registry (); +AtkRegistry* atk_get_default_registry (void); #ifdef __cplusplus } diff --git a/atk/atkselection.c b/atk/atkselection.c index cc157d7..4088fa8 100755 --- a/atk/atkselection.c +++ b/atk/atkselection.c @@ -29,7 +29,7 @@ static void atk_selection_base_init (gpointer *g_class); static guint atk_selection_signals[LAST_SIGNAL] = { 0 }; GType -atk_selection_get_type () +atk_selection_get_type (void) { static GType type = 0; diff --git a/atk/atkselection.h b/atk/atkselection.h index 1059fde..1a7a20b 100755 --- a/atk/atkselection.h +++ b/atk/atkselection.h @@ -65,7 +65,7 @@ struct _AtkSelectionIface void (*selection_changed) (AtkSelection *selection); }; -GType atk_selection_get_type (); +GType atk_selection_get_type (void); gboolean atk_selection_add_selection (AtkSelection *selection, gint i); diff --git a/atk/atktable.c b/atk/atktable.c index 012ad53..6f1b644 100755 --- a/atk/atktable.c +++ b/atk/atktable.c @@ -36,7 +36,7 @@ static void atk_table_base_init (gpointer *g_class); static guint atk_table_signals[LAST_SIGNAL] = { 0 }; GType -atk_table_get_type () +atk_table_get_type (void) { static GType type = 0; diff --git a/atk/atktable.h b/atk/atktable.h index 2ebe834..1ca8d84 100755 --- a/atk/atktable.h +++ b/atk/atktable.h @@ -134,7 +134,7 @@ struct _AtkTableIface void (* model_changed) (AtkTable *table); }; -GType atk_table_get_type (); +GType atk_table_get_type (void); AtkObject* atk_table_ref_at (AtkTable *table, gint row, -- 2.7.4