summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-04-29 01:02:10 -0400
committerCorey Farrell <git@cfware.com>2015-04-29 01:02:10 -0400
commit55a780d21109511c972daf53c7885580855e5f82 (patch)
treee5de9106d78a7e244122a47a77ad8fb5ee8e1b63
parent2415e94b07a7ab8658fadcec93578bfd2665273c (diff)
Git Conversion: Switch Non-C files to ASTERISK_REGISTER_FILE.
This switches files used to generate other sources to use the new ASTERISK_REGISTER_FILE macro. ASTERISK-25026 #close Reported by: Corey Farrell Change-Id: Ieb2537b83421cad07c8955e5f90c405ccf079740
-rw-r--r--configs/samples/extensions_minivm.conf.sample2
-rw-r--r--main/ast_expr2.fl2
-rw-r--r--main/ast_expr2.y2
-rw-r--r--res/ael/ael.flex2
-rw-r--r--res/ael/ael.y2
-rw-r--r--rest-api-templates/ari_model_validators.c.mustache2
-rw-r--r--rest-api-templates/ari_resource.c.mustache2
-rw-r--r--rest-api-templates/res_ari_resource.c.mustache2
8 files changed, 7 insertions, 9 deletions
diff --git a/configs/samples/extensions_minivm.conf.sample b/configs/samples/extensions_minivm.conf.sample
index 2f9d24637..7bd1df1d2 100644
--- a/configs/samples/extensions_minivm.conf.sample
+++ b/configs/samples/extensions_minivm.conf.sample
@@ -1,7 +1,5 @@
; MINI-VOICEMAIL dialplan example
; ---------------------------------------------------------------------------------------
-; ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-;
;
; This is an example on how to use the Mini-Voicemail system to build
; voicemail systems.
diff --git a/main/ast_expr2.fl b/main/ast_expr2.fl
index e10dde200..af03c013f 100644
--- a/main/ast_expr2.fl
+++ b/main/ast_expr2.fl
@@ -26,7 +26,7 @@
#include <stdio.h>
#if !defined(STANDALONE)
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+ASTERISK_REGISTER_FILE()
#else
#ifndef __USE_ISOC99
#define __USE_ISOC99 1
diff --git a/main/ast_expr2.y b/main/ast_expr2.y
index e8c68e333..8a151679d 100644
--- a/main/ast_expr2.y
+++ b/main/ast_expr2.y
@@ -20,7 +20,7 @@
#if !defined(STANDALONE) && !defined(STANDALONE2) \
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+ASTERISK_REGISTER_FILE()
#else
#ifndef __USE_ISOC99
#define __USE_ISOC99 1
diff --git a/res/ael/ael.flex b/res/ael/ael.flex
index 5a7fd8304..a412eaf34 100644
--- a/res/ael/ael.flex
+++ b/res/ael/ael.flex
@@ -70,7 +70,7 @@
%{
#define WRAP_LIBC_MALLOC
#include "asterisk.h"
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+ASTERISK_REGISTER_FILE()
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/res/ael/ael.y b/res/ael/ael.y
index c1a6f0f2b..5ab9c969f 100644
--- a/res/ael/ael.y
+++ b/res/ael/ael.y
@@ -25,7 +25,7 @@
#define WRAP_LIBC_MALLOC
#include "asterisk.h"
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+ASTERISK_REGISTER_FILE()
#include <stdio.h>
#include <stdlib.h>
diff --git a/rest-api-templates/ari_model_validators.c.mustache b/rest-api-templates/ari_model_validators.c.mustache
index 9d3167156..9603fadbf 100644
--- a/rest-api-templates/ari_model_validators.c.mustache
+++ b/rest-api-templates/ari_model_validators.c.mustache
@@ -27,7 +27,7 @@
#include "asterisk.h"
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+ASTERISK_REGISTER_FILE()
#include "asterisk/logger.h"
#include "asterisk/module.h"
diff --git a/rest-api-templates/ari_resource.c.mustache b/rest-api-templates/ari_resource.c.mustache
index e2b234240..b8f20e675 100644
--- a/rest-api-templates/ari_resource.c.mustache
+++ b/rest-api-templates/ari_resource.c.mustache
@@ -26,7 +26,7 @@
#include "asterisk.h"
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+ASTERISK_REGISTER_FILE()
#include "resource_{{c_name}}.h"
diff --git a/rest-api-templates/res_ari_resource.c.mustache b/rest-api-templates/res_ari_resource.c.mustache
index 896ee0d1d..9893c9731 100644
--- a/rest-api-templates/res_ari_resource.c.mustache
+++ b/rest-api-templates/res_ari_resource.c.mustache
@@ -44,7 +44,7 @@
#include "asterisk.h"
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+ASTERISK_REGISTER_FILE()
#include "asterisk/app.h"
#include "asterisk/module.h"