[asterisk-commits] trunk r28895 - in /trunk: funcs/func_realtime.c utils/ael_main.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 19 17:41:37 MST 2006


Author: russell
Date: Fri May 19 19:41:36 2006
New Revision: 28895

URL: http://svn.digium.com/view/asterisk?rev=28895&view=rev
Log:
fix the build of func_realtime and aelparse with MTX_PROFILE enabled
(issue #7187, #7188, casper)

Modified:
    trunk/funcs/func_realtime.c
    trunk/utils/ael_main.c

Modified: trunk/funcs/func_realtime.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_realtime.c?rev=28895&r1=28894&r2=28895&view=diff
==============================================================================
--- trunk/funcs/func_realtime.c (original)
+++ trunk/funcs/func_realtime.c Fri May 19 19:41:36 2006
@@ -32,7 +32,7 @@
 
 #include "asterisk.h"
 
-/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/file.h"
 #include "asterisk/channel.h"

Modified: trunk/utils/ael_main.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/ael_main.c?rev=28895&r1=28894&r2=28895&view=diff
==============================================================================
--- trunk/utils/ael_main.c (original)
+++ trunk/utils/ael_main.c Fri May 19 19:41:36 2006
@@ -1,6 +1,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdarg.h>
 #include <string.h>
 #include <locale.h>
 #include <ctype.h>
@@ -12,10 +13,7 @@
 #include <limits.h>
 
 #include "asterisk/ast_expr.h"
-#include "asterisk/logger.h"
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
-#include "asterisk/app.h"
 #include "asterisk/ael_structs.h"
 
 #define AST_CONFIG_MAX_PATH 255
@@ -25,6 +23,7 @@
 char ast_config_AST_CONFIG_DIR[AST_CONFIG_MAX_PATH];
 char ast_config_AST_VAR_DIR[AST_CONFIG_MAX_PATH];
 
+void ast_add_profile(void);
 void ast_cli_register_multiple(void);
 void ast_register_file_version(void);
 void ast_unregister_file_version(void);
@@ -54,6 +53,12 @@
 	return (struct ast_app*)1; /* so as not to trigger an error */
 }
 
+void ast_add_profile(void)
+{
+	if (!no_comp)
+		printf("Executed ast_add_profile();\n");
+}
+
 void ast_cli_register_multiple(void)
 {
 	if(!no_comp)



More information about the asterisk-commits mailing list