fix the build of func_realtime and aelparse with MTX_PROFILE enabled

(issue #7187, #7188, casper)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-05-20 00:41:36 +00:00
parent ebe974e9e4
commit 3d022d073a
2 changed files with 9 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h"
#include "asterisk/channel.h"

View File

@@ -1,6 +1,7 @@
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <locale.h>
#include <ctype.h>
@@ -12,10 +13,7 @@
#include <limits.h>
#include "asterisk/ast_expr.h"
#include "asterisk/logger.h"
#include "asterisk/module.h"
#include "asterisk/channel.h"
#include "asterisk/app.h"
#include "asterisk/ael_structs.h"
#define AST_CONFIG_MAX_PATH 255
@@ -25,6 +23,7 @@ char last_exten[18000];
char ast_config_AST_CONFIG_DIR[AST_CONFIG_MAX_PATH];
char ast_config_AST_VAR_DIR[AST_CONFIG_MAX_PATH];
void ast_add_profile(void);
void ast_cli_register_multiple(void);
void ast_register_file_version(void);
void ast_unregister_file_version(void);
@@ -54,6 +53,12 @@ struct ast_app *pbx_findapp(const char *app)
return (struct ast_app*)1; /* so as not to trigger an error */
}
void ast_add_profile(void)
{
if (!no_comp)
printf("Executed ast_add_profile();\n");
}
void ast_cli_register_multiple(void)
{
if(!no_comp)