diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-11 15:57:32 +0000 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-02-12 22:02:54 +1100 |
commit | d5ddecd1ec24309d9fec0407c3e29b9732e0e3c4 (patch) | |
tree | a0c1eb9e3f4f24c4adc360b885e5ce842efaf787 /telepathy-logger/debug.c | |
parent | 10477cd6f83839e1b2ceaaa6407c485b5f7ca200 (diff) |
debug: fix coding style
Diffstat (limited to 'telepathy-logger/debug.c')
-rw-r--r-- | telepathy-logger/debug.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/telepathy-logger/debug.c b/telepathy-logger/debug.c index 97cd0bb14..bb7f7d838 100644 --- a/telepathy-logger/debug.c +++ b/telepathy-logger/debug.c @@ -41,7 +41,8 @@ static GDebugKey keys[] = { { 0, }, }; -void tpl_debug_set_flags_from_env () +void +tpl_debug_set_flags_from_env (void) { guint nkeys; const gchar *flags_string; @@ -57,18 +58,23 @@ void tpl_debug_set_flags_from_env () nkeys)); } -void tpl_debug_set_flags (TplDebugFlags new_flags) + +void +tpl_debug_set_flags (TplDebugFlags new_flags) { flags |= new_flags; } -gboolean tpl_debug_flag_is_set (TplDebugFlags flag) + +gboolean +tpl_debug_flag_is_set (TplDebugFlags flag) { return flag & flags; } GHashTable *flag_to_domains = NULL; + static const gchar * debug_flag_to_domain (TplDebugFlags flag) { |