[Freeswitch-svn] [commit] r4972 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nta libsofia-sip-ua/sresolv libsofia-sip-ua/stun libsofia-sip-ua/tport

Freeswitch SVN mikej at freeswitch.org
Thu Apr 19 14:16:06 EDT 2007


Author: mikej
Date: Thu Apr 19 14:16:05 2007
New Revision: 4972

Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c

Log:
consistent ifdef for DOXYGEN defined symbols

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Thu Apr 19 14:16:05 2007
@@ -1 +1 @@
-Tue Apr 17 11:04:59 CDT 2007
+Tue Apr 19 14:23:59 EDT 2007

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	Thu Apr 19 14:16:05 2007
@@ -292,7 +292,9 @@
  * 
  * @sa <su_debug.h>, #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

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c	Thu Apr 19 14:16:05 2007
@@ -549,7 +549,6 @@
 #include <winreg.h>
 #endif
 
-#if DOXYGEN_ONLY
 /**@ingroup sresolv_env
  *
  * Environment variable determining the debug log level for @b sresolv
@@ -560,7 +559,8 @@
  * 
  * @sa <su_debug.h>, 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. 

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/stun/stun_internal.h	Thu Apr 19 14:16:05 2007
@@ -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

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c	Thu Apr 19 14:16:05 2007
@@ -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 @@
  * 
  * @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 @@
  * 
  * @sa <su_debug.h>, tport_log, SOFIA_DEBUG
  */
+#ifdef DOXYGEN
 extern char const TPORT_DEBUG[]; /* dummy declaration for Doxygen */
+#endif
 
 /**Debug log for @b tport module. 
  * 



More information about the Freeswitch-svn mailing list