summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-03-14 11:50:02 +0000
committerBenny Prijono <bennylp@teluu.com>2007-03-14 11:50:02 +0000
commit6c6138a3c3b17327edd596ac5e3e99b12bd09f52 (patch)
tree54af414fc09664ac9a9c780a3479c701b368bd88 /pjlib
parent86fae422669db70354974692647b4816835f5a9f (diff)
Fixed link error (multiple symbols) with pj_log_max_level with C++ build
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1061 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/include/pj/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/include/pj/log.h b/pjlib/include/pj/log.h
index 4d28abec..3b9e3afe 100644
--- a/pjlib/include/pj/log.h
+++ b/pjlib/include/pj/log.h
@@ -177,7 +177,7 @@ PJ_DECL(void) pj_log_set_level(int level);
#if 0
PJ_DECL(int) pj_log_get_level(void);
#else
-PJ_DECL(int) pj_log_max_level;
+extern int pj_log_max_level;
#define pj_log_get_level() pj_log_max_level
#endif