From 71ad27409c0b5f57136b427d1d0746d99546a572 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Thu, 10 Jan 2008 00:50:39 +0000 Subject: The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97656 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/console_board.c | 1 + channels/console_video.c | 1 + channels/vgrabbers.c | 1 + 3 files changed, 3 insertions(+) (limited to 'channels') diff --git a/channels/console_board.c b/channels/console_board.c index f8805affe..eafccc391 100644 --- a/channels/console_board.c +++ b/channels/console_board.c @@ -38,6 +38,7 @@ */ #include "asterisk.h" /* ast_strdupa */ +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/utils.h" /* ast_strdupa */ #include "console_video.h" /* ast_strdupa */ diff --git a/channels/console_video.c b/channels/console_video.c index 5c7e87e72..554d03c39 100644 --- a/channels/console_video.c +++ b/channels/console_video.c @@ -37,6 +37,7 @@ //#define OLD_FFMPEG 1 /* set for old ffmpeg with no swscale */ #include "asterisk.h" +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include "asterisk/cli.h" #include "asterisk/file.h" diff --git a/channels/vgrabbers.c b/channels/vgrabbers.c index b58979982..0e4e62f56 100644 --- a/channels/vgrabbers.c +++ b/channels/vgrabbers.c @@ -45,6 +45,7 @@ */ #include "asterisk.h" +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include "asterisk/file.h" #include "asterisk/utils.h" /* ast_calloc */ -- cgit v1.2.3