Had to move the ASTERISK_FILE_VERSION decl to just after the include of "asterisk.h"
authorSteve Murphy <murf@digium.com>
Thu, 29 May 2008 20:26:42 +0000 (20:26 +0000)
committerSteve Murphy <murf@digium.com>
Thu, 29 May 2008 20:26:42 +0000 (20:26 +0000)
or you get undefined variable errors when you are compiling under the influence
of MTX_PROFILE

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119074 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/taskprocessor.c

index 171a077..ebe7083 100644 (file)
@@ -23,6 +23,8 @@
  */
 
 #include "asterisk.h"
  */
 
 #include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/_private.h"
 #include "asterisk/module.h"
 #include "asterisk/time.h"
 #include "asterisk/_private.h"
 #include "asterisk/module.h"
 #include "asterisk/time.h"
@@ -32,7 +34,6 @@
 #include "signal.h"
 #include "sys/time.h"
 
 #include "signal.h"
 #include "sys/time.h"
 
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 /*! \brief tps_task structure is queued to a taskprocessor
  *
 
 /*! \brief tps_task structure is queued to a taskprocessor
  *