mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
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:
@@ -5,6 +5,8 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||||
|
|
||||||
#include "asterisk/channel.h"
|
#include "asterisk/channel.h"
|
||||||
#include "asterisk/ast_expr.h"
|
#include "asterisk/ast_expr.h"
|
||||||
#include "asterisk/module.h"
|
#include "asterisk/module.h"
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||||
|
|
||||||
#include "asterisk/ast_expr.h"
|
#include "asterisk/ast_expr.h"
|
||||||
|
|
||||||
@@ -145,6 +146,7 @@ int check_eval(char *buffer, char *error_report);
|
|||||||
void parse_file(const char *fname);
|
void parse_file(const char *fname);
|
||||||
|
|
||||||
void ast_register_file_version(const char *file, const char *version) { }
|
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)
|
void ast_unregister_file_version(const char *file)
|
||||||
{
|
{
|
||||||
|
@@ -26,7 +26,8 @@
|
|||||||
<depend>res_ael_share</depend>
|
<depend>res_ael_share</depend>
|
||||||
***/
|
***/
|
||||||
|
|
||||||
#include "asterisk/autoconfig.h"
|
#include "asterisk.h"
|
||||||
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.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)
|
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 */
|
/* 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)));
|
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
Block a user