Skip to content
Snippets Groups Projects
Commit 4c992507 authored by Steve Murphy's avatar Steve Murphy
Browse files

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
parent 9910b7d9
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
......@@ -17,6 +17,7 @@
*/
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/ast_expr.h"
......@@ -145,6 +146,7 @@ int check_eval(char *buffer, char *error_report);
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)
{
......
......@@ -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)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment