[asterisk-commits] file: trunk r85025 - in /trunk: main/ res/ utils/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 8 11:12:21 CDT 2007


Author: file
Date: Mon Oct  8 11:12:21 2007
New Revision: 85025

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85025
Log:
Fix up tree so that it compiles when MTX Profiling is enabled.
(closes issue #10898)
Reported by: snuffy
Patches:
      10898-mtx_prof.diff uploaded by qwell (license 4)

Modified:
    trunk/main/ast_expr2.c
    trunk/res/res_limit.c
    trunk/utils/check_expr.c
    trunk/utils/conf2ael.c
    trunk/utils/hashtest2.c

Modified: trunk/main/ast_expr2.c
URL: http://svn.digium.com/view/asterisk/trunk/main/ast_expr2.c?view=diff&rev=85025&r1=85024&r2=85025
==============================================================================
--- trunk/main/ast_expr2.c (original)
+++ trunk/main/ast_expr2.c Mon Oct  8 11:12:21 2007
@@ -144,6 +144,8 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #define FP___PRINTF "%.18Lg"
 #define FP___TYPE    long double

Modified: trunk/res/res_limit.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_limit.c?view=diff&rev=85025&r1=85024&r2=85025
==============================================================================
--- trunk/res/res_limit.c (original)
+++ trunk/res/res_limit.c Mon Oct  8 11:12:21 2007
@@ -20,6 +20,8 @@
 
 
 #include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <stdio.h>
 #include <stdlib.h>

Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=85025&r1=85024&r2=85025
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Mon Oct  8 11:12:21 2007
@@ -145,6 +145,7 @@
 	fflush(stdout);
 	va_end(vars);
 }
+void ast_add_profile(void);
 void ast_register_file_version(const char *file, const char *version);
 void ast_unregister_file_version(const char *file);
 
@@ -153,6 +154,10 @@
 unsigned int check_expr(char* buffer, char* error_report);
 int check_eval(char *buffer, char *error_report);
 void parse_file(const char *fname);
+
+void ast_add_profile(void)
+{
+}
 
 void ast_register_file_version(const char *file, const char *version)
 {

Modified: trunk/utils/conf2ael.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/conf2ael.c?view=diff&rev=85025&r1=85024&r2=85025
==============================================================================
--- trunk/utils/conf2ael.c (original)
+++ trunk/utils/conf2ael.c Mon Oct  8 11:12:21 2007
@@ -81,9 +81,13 @@
 extern char ast_config_AST_CONFIG_DIR[PATH_MAX];
 
 /* modulation */
+void ast_add_profile(void);
 void ast_register_file_version(void);
 void ast_unregister_file_version(void);
 
+void ast_add_profile(void)
+{
+}
 void ast_register_file_version(void)
 {
 	/* if(!no_comp)

Modified: trunk/utils/hashtest2.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/hashtest2.c?view=diff&rev=85025&r1=85024&r2=85025
==============================================================================
--- trunk/utils/hashtest2.c (original)
+++ trunk/utils/hashtest2.c Mon Oct  8 11:12:21 2007
@@ -29,6 +29,8 @@
  */
 
 #include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <sys/types.h>
 #include <stdio.h>




More information about the asterisk-commits mailing list