summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/log.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2013-01-30 15:27:58 -0600
committerJason Parker <jparker@digium.com>2013-03-11 15:14:31 -0500
commitc4117957402e119fa4f5dcaae62478fb0a7c8aaf (patch)
tree1d4ccdb38f457f2621b05aa971b704898230d8e0 /pjlib/src/pj/log.c
parent483805f79570115ab95c69698792d238c1719b1b (diff)
Fix a few compile warnings.
Diffstat (limited to 'pjlib/src/pj/log.c')
-rw-r--r--pjlib/src/pj/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjlib/src/pj/log.c b/pjlib/src/pj/log.c
index 04173eb..e06ac7b 100644
--- a/pjlib/src/pj/log.c
+++ b/pjlib/src/pj/log.c
@@ -106,7 +106,7 @@ static void log_set_indent(int indent)
pj_thread_local_set(thread_indent_tls_id, (void*)(long)indent);
}
-static int log_get_raw_indent()
+static int log_get_raw_indent(void)
{
return (long)pj_thread_local_get(thread_indent_tls_id);
}
@@ -118,13 +118,13 @@ static void log_set_indent(int indent)
if (log_indent < 0) log_indent = 0;
}
-static int log_get_raw_indent()
+static int log_get_raw_indent(void)
{
return log_indent;
}
#endif /* PJ_LOG_ENABLE_INDENT && PJ_HAS_THREADS */
-static int log_get_indent()
+static int log_get_indent(void)
{
int indent = log_get_raw_indent();
return indent > LOG_MAX_INDENT ? LOG_MAX_INDENT : indent;