Skip to content
Snippets Groups Projects
Commit 3d022d07 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent ebe974e9
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
#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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment