From 94140239f22a09cc5a35aa84ed22e67100a7f91d Mon Sep 17 00:00:00 2001 From: murf 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: http://svn.digium.com/svn/asterisk/trunk@97656 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/asterisk.h') diff --git a/include/asterisk.h b/include/asterisk.h index 9d5c1ae8a..a27d2ad56 100644 --- a/include/asterisk.h +++ b/include/asterisk.h @@ -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. -- cgit v1.2.3