[asterisk-commits] murf: trunk r89595 - in /trunk/utils: ael_main.c check_expr.c conf2ael.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 26 11:46:42 CST 2007


Author: murf
Date: Mon Nov 26 11:46:41 2007
New Revision: 89595

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89595
Log:
closes issue #11341; made changes to make utils again right with the MTX_PROFILE world.

Modified:
    trunk/utils/ael_main.c
    trunk/utils/check_expr.c
    trunk/utils/conf2ael.c

Modified: trunk/utils/ael_main.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/ael_main.c?view=diff&rev=89595&r1=89594&r2=89595
==============================================================================
--- trunk/utils/ael_main.c (original)
+++ trunk/utils/ael_main.c Mon Nov 26 11:46:41 2007
@@ -5,6 +5,8 @@
 #include <limits.h>
 
 #include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/channel.h"
 #include "asterisk/ast_expr.h"
 #include "asterisk/module.h"

Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=89595&r1=89594&r2=89595
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Mon Nov 26 11:46:41 2007
@@ -17,6 +17,7 @@
  */
 
 #include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/ast_expr.h"
 
@@ -145,6 +146,7 @@
 void parse_file(const char *fname);
 
 void ast_register_file_version(const char *file, const char *version) { }
+int ast_add_profile(const char *x, uint64_t scale) { return 0;} 
 
 void ast_unregister_file_version(const char *file)
 {

Modified: trunk/utils/conf2ael.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/conf2ael.c?view=diff&rev=89595&r1=89594&r2=89595
==============================================================================
--- trunk/utils/conf2ael.c (original)
+++ trunk/utils/conf2ael.c Mon Nov 26 11:46:41 2007
@@ -26,7 +26,8 @@
 	<depend>res_ael_share</depend>
  ***/
 
-#include "asterisk/autoconfig.h"
+#include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <stdio.h>
 #include <sys/types.h>
@@ -87,6 +88,7 @@
 void ast_unregister_file_version(const char *file)
 {
 }
+int ast_add_profile(const char *x, uint64_t scale) { return 0;}
 
 /* Our own version of ast_log, since the expr parser uses it. -- stolen from utils/check_expr.c */
 void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...) __attribute__ ((format (printf,5,6)));




More information about the asterisk-commits mailing list