From: Corey Farrell Date: Wed, 29 Apr 2015 05:02:10 +0000 (-0400) Subject: Git Conversion: Switch Non-C files to ASTERISK_REGISTER_FILE. X-Git-Tag: 14.0.0-beta1~1017^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F274%2F1;p=thirdparty%2Fasterisk.git 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 --- diff --git a/configs/samples/extensions_minivm.conf.sample b/configs/samples/extensions_minivm.conf.sample index 2f9d246370..7bd1df1d21 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 e10dde2005..af03c013fa 100644 --- a/main/ast_expr2.fl +++ b/main/ast_expr2.fl @@ -26,7 +26,7 @@ #include #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 e8c68e3330..8a151679d2 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 5a7fd83047..a412eaf349 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 #include diff --git a/res/ael/ael.y b/res/ael/ael.y index c1a6f0f2b9..5ab9c969f0 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 #include diff --git a/rest-api-templates/ari_model_validators.c.mustache b/rest-api-templates/ari_model_validators.c.mustache index 9d31671563..9603fadbf5 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 e2b234240f..b8f20e6752 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 896ee0d1dd..9893c97314 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"