From 40bca110a8b26919f932d89b5123eaadff643fbc Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 19 Apr 2007 18:16:05 +0000 Subject: [PATCH] consistent ifdef for DOXYGEN defined symbols git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4972 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/nta/nta.c | 4 +++- libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c | 4 ++-- libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h | 2 ++ libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c | 6 ++++++ 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index dd69896aa5..6d61801aa8 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Tue Apr 17 11:04:59 CDT 2007 +Tue Apr 19 14:23:59 EDT 2007 diff --git a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c index b759787bb1..5e52577a11 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c +++ b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c @@ -292,7 +292,9 @@ union sm_arg_u { * * @sa , #su_log_global, #SOFIA_DEBUG */ -extern char const NTA_DEBUG[]; +#ifdef DOXYGEN +extern char const NTA_DEBUG[]; /* dummy declaration for Doxygen */ +#endif #ifndef SU_DEBUG #define SU_DEBUG 3 diff --git a/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c b/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c index a0e99fb094..b0aca15a48 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c +++ b/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c @@ -549,7 +549,6 @@ static int m_get_domain(char *d, int n, sres_message_t *m, uint16_t offset); #include #endif -#if DOXYGEN_ONLY /**@ingroup sresolv_env * * Environment variable determining the debug log level for @b sresolv @@ -560,7 +559,8 @@ static int m_get_domain(char *d, int n, sres_message_t *m, uint16_t offset); * * @sa , sresolv_log, SOFIA_DEBUG */ -extern SRESOLV_DEBUG; +#ifdef DOXYGEN +extern char const SRESOLV_DEBUG[]; /* dummy declaration for Doxygen */ #endif /**Debug log for @b sresolv module. diff --git a/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h b/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h index e40d655d91..e9b7e9c779 100644 --- a/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h +++ b/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h @@ -71,7 +71,9 @@ SOFIA_BEGIN_DECLS +#ifdef DOXYGEN extern char const STUN_DEBUG[]; /* dummy declaration for Doxygen */ +#endif /* XXX -- mela: note that this are 100 times too small */ #if 1 diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c index 9b2d24b49b..f890233134 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c @@ -52,7 +52,9 @@ * * @sa TPORT_DUMP, TPORT_DEBUG, tport_log */ +#ifdef DOXYGEN extern char const TPORT_LOG[]; /* dummy declaration for Doxygen */ +#endif /**@var TPORT_DUMP * @@ -64,7 +66,9 @@ extern char const TPORT_LOG[]; /* dummy declaration for Doxygen */ * * @sa TPORT_LOG, TPORT_DEBUG, tport_log */ +#ifdef DOXYGEN extern char const TPORT_DUMP[]; /* dummy declaration for Doxygen */ +#endif /**@var TPORT_DEBUG * @@ -75,7 +79,9 @@ extern char const TPORT_DUMP[]; /* dummy declaration for Doxygen */ * * @sa , tport_log, SOFIA_DEBUG */ +#ifdef DOXYGEN extern char const TPORT_DEBUG[]; /* dummy declaration for Doxygen */ +#endif /**Debug log for @b tport module. *