closes issue #11341; made changes to make utils again right with the MTX_PROFILE world.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89595 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
6a8e5f1e64
commit
753634f9ca
|
@ -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)));
|
||||
|
|
Reference in New Issue