diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-10-21 06:37:30 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-10-21 06:37:30 +0000 |
commit | 1b2ad20c6811a916650a0c510724d9f1b8a7d6d1 (patch) | |
tree | b955787f6c1e48e03bc7d9a2f6a9b816942fc700 /pjlib/src/pj/log.c | |
parent | 674d145645a4f8a8392ec8d76b34256000ebd39c (diff) |
Re #1630 (misc):
Fixed compiler warnings. Thanks to Mark Michelson for the patch.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4624 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/log.c')
-rw-r--r-- | pjlib/src/pj/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pjlib/src/pj/log.c b/pjlib/src/pj/log.c index bb808dac..6f0a5ef4 100644 --- a/pjlib/src/pj/log.c +++ b/pjlib/src/pj/log.c @@ -107,7 +107,7 @@ static void log_set_indent(int indent) pj_thread_local_set(thread_indent_tls_id, (void*)(pj_ssize_t)indent); } -static int log_get_raw_indent() +static int log_get_raw_indent(void) { return (long)(pj_ssize_t)pj_thread_local_get(thread_indent_tls_id); } @@ -119,13 +119,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; |