[Telepathy-commits] [telepathy-haze/master] Use proper declarations for functions with no arguments
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Jan 8 06:28:53 PST 2009
---
src/contact-list-channel.c | 2 +-
src/debug.h | 2 +-
src/main.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/contact-list-channel.c b/src/contact-list-channel.c
index d9d647a..fc0bb15 100644
--- a/src/contact-list-channel.c
+++ b/src/contact-list-channel.c
@@ -46,7 +46,7 @@ struct _PublishRequestData {
static PublishRequestData *
-publish_request_data_new ()
+publish_request_data_new (void)
{
return g_slice_new0 (PublishRequestData);
}
diff --git a/src/debug.h b/src/debug.h
index 020df3f..08f5cf9 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -25,7 +25,7 @@ void haze_debug_init(void);
void haze_debug (const gchar *format, ...)
G_GNUC_PRINTF (1,2);
-void haze_debug_set_flags_from_env ();
+void haze_debug_set_flags_from_env (void);
#define DEBUG(format, ...) \
haze_debug ("%s: " format, G_STRFUNC, ##__VA_ARGS__)
diff --git a/src/main.c b/src/main.c
index 7f4d5ae..f0daa31 100644
--- a/src/main.c
+++ b/src/main.c
@@ -134,7 +134,7 @@ static PurpleEventLoopUiOps glib_eventloops =
static char *user_dir = NULL;
static void
-haze_ui_init ()
+haze_ui_init (void)
{
purple_accounts_set_ui_ops (haze_get_account_ui_ops ());
purple_conversations_set_ui_ops (haze_get_conv_ui_ops ());
--
1.5.6.5
More information about the Telepathy-commits
mailing list