From 9107547668999cc1d8c6c7068a913ad89a39f12d Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Thu, 29 May 2008 20:26:42 +0000 Subject: 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119074 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/taskprocessor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main') diff --git a/main/taskprocessor.c b/main/taskprocessor.c index 171a07725..ebe708302 100644 --- a/main/taskprocessor.c +++ b/main/taskprocessor.c @@ -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 * -- cgit v1.2.3