[asterisk-commits] murf: trunk r119074 - /trunk/main/taskprocessor.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 29 15:26:43 CDT 2008


Author: murf
Date: Thu May 29 15:26:42 2008
New Revision: 119074

URL: http://svn.digium.com/view/asterisk?view=rev&rev=119074
Log:
Had to move the ASTERISK_FILE_VERSION decl to just after the include of "asterisk.h"
or you get undefined variable errors when you are compiling under the influence
of MTX_PROFILE


Modified:
    trunk/main/taskprocessor.c

Modified: trunk/main/taskprocessor.c
URL: http://svn.digium.com/view/asterisk/trunk/main/taskprocessor.c?view=diff&rev=119074&r1=119073&r2=119074
==============================================================================
--- trunk/main/taskprocessor.c (original)
+++ trunk/main/taskprocessor.c Thu May 29 15:26:42 2008
@@ -23,6 +23,8 @@
  */
 
 #include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/_private.h"
 #include "asterisk/module.h"
 #include "asterisk/time.h"
@@ -32,7 +34,6 @@
 #include "signal.h"
 #include "sys/time.h"
 
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 /*! \brief tps_task structure is queued to a taskprocessor
  *




More information about the asterisk-commits mailing list