aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
Diffstat (limited to 'funcs')
-rwxr-xr-xfuncs/pbx_functions.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/funcs/pbx_functions.c b/funcs/pbx_functions.c
index 5171c6271..c998b61ed 100755
--- a/funcs/pbx_functions.c
+++ b/funcs/pbx_functions.c
@@ -14,6 +14,10 @@
#include <sys/types.h>
#include <stdlib.h>
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION("$Revision$")
+
#include "asterisk/module.h"
#include "asterisk/pbx.h"
#include "pbx_functions.h"
@@ -56,8 +60,3 @@ char *key()
{
return ASTERISK_GPL_KEY;
}
-
-const char *version()
-{
- return "$Revision$";
-}