The fixes in this commit are mainly to allow compiling of trunk with --enable-dev...
authorSteve Murphy <murf@digium.com>
Thu, 10 Jan 2008 00:50:39 +0000 (00:50 +0000)
committerSteve Murphy <murf@digium.com>
Thu, 10 Jan 2008 00:50:39 +0000 (00:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97656 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/console_board.c
channels/console_video.c
channels/vgrabbers.c
include/asterisk.h
utils/astman.c

index f8805af..eafccc3 100644 (file)
@@ -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 */
 
index 5c7e87e..554d03c 100644 (file)
@@ -37,6 +37,7 @@
 //#define OLD_FFMPEG   1       /* set for old ffmpeg with no swscale */
 
 #include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <sys/ioctl.h>
 #include "asterisk/cli.h"
 #include "asterisk/file.h"
index b589799..0e4e62f 100644 (file)
@@ -45,6 +45,7 @@
  */
 
 #include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <sys/ioctl.h>
 #include "asterisk/file.h"
 #include "asterisk/utils.h"    /* ast_calloc */
index 9d5c1ae..a27d2ad 100644 (file)
@@ -50,6 +50,9 @@
 
 int ast_set_priority(int);                     /*!< Provided by asterisk.c */
 
+const char *ast_get_version(void);
+const char *ast_get_version_num(void);
+
 /*!
  * \brief Register a function to be executed before Asterisk exits.
  * \param func The callback function to use.
index bffd3db..900e6f7 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "asterisk.h"
-
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <newt.h>
 #include <stdio.h>
 #include <sys/time.h>