summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-04 15:58:41 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-04 16:11:30 +0200
commit9acd3dbfa79faa7ab377101a396e072d9a5ddb3a (patch)
tree2f2f744d32ec03f57b312c8cd3b7277088fd1589
parent9421d9f15389dc53bf4615300e17c015ebef963c (diff)
move tpl_critical as internal API
-rw-r--r--telepathy-logger/debug-internal.h4
-rw-r--r--telepathy-logger/debug.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-logger/debug-internal.h b/telepathy-logger/debug-internal.h
index a92e42cd9..b4b144992 100644
--- a/telepathy-logger/debug-internal.h
+++ b/telepathy-logger/debug-internal.h
@@ -53,7 +53,7 @@ gboolean _tpl_debug_flag_is_set (TplDebugFlags flag);
void _tpl_debug_free (void);
void _tpl_debug (TplDebugFlags flag, const gchar *format, ...)
G_GNUC_PRINTF (2, 3);
-void tpl_critical (TplDebugFlags flag, const gchar *format, ...)
+void _tpl_critical (TplDebugFlags flag, const gchar *format, ...)
G_GNUC_PRINTF (2, 3);
@@ -61,7 +61,7 @@ G_END_DECLS
/* CRITICAL/PATH_CRITICAL needs to be always defined */
#define CRITICAL(format, ...) \
- tpl_critical (DEBUG_FLAG, "%s: " format, G_STRFUNC, ##__VA_ARGS__)
+ _tpl_critical (DEBUG_FLAG, "%s: " format, G_STRFUNC, ##__VA_ARGS__)
#define PATH_CRITICAL(_proxy, _format, ...) \
G_STMT_START { \
const gchar *_path; \
diff --git a/telepathy-logger/debug.c b/telepathy-logger/debug.c
index 8e7c2f5cb..408c2cdda 100644
--- a/telepathy-logger/debug.c
+++ b/telepathy-logger/debug.c
@@ -108,7 +108,7 @@ void _tpl_debug (TplDebugFlags flag,
/* The following function has to be always define or CRITICAL messages won't
* be shown */
-void tpl_critical (TplDebugFlags flag,
+void _tpl_critical (TplDebugFlags flag,
const gchar *format,
...)
{