closes issue #11341; made changes to make utils again right with the MTX_PROFILE world.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Steve Murphy
2007-11-26 17:46:41 +00:00
parent 9910b7d9a7
commit 4c992507f4
3 changed files with 7 additions and 1 deletions

View File

@@ -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_register_file_version(const char *file, const char *version)
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)));