Allow some function modules to compile under dev mode.

Issue 11104, patch by andrew.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@87340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-10-29 17:13:04 +00:00
parent 7fc2c32a92
commit 71319ccaa9
2 changed files with 2 additions and 2 deletions

View File

@@ -251,7 +251,7 @@ static int acf_sort_exec(struct ast_channel *chan, char *cmd, char *data, char *
static int acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len) static int acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
{ {
int ret = -1; int ret = -1;
struct ast_module_user *u; struct ast_module_user *u = NULL;
if (chan) { if (chan) {
ast_autoservice_start(chan); ast_autoservice_start(chan);

View File

@@ -103,7 +103,7 @@ static int function_realtime_read(struct ast_channel *chan, char *cmd, char *dat
static int function_realtime_write(struct ast_channel *chan, char *cmd, char *data, const char *value) static int function_realtime_write(struct ast_channel *chan, char *cmd, char *data, const char *value)
{ {
struct ast_module_user *u; struct ast_module_user *u = NULL;
int res = 0; int res = 0;
AST_DECLARE_APP_ARGS(args, AST_DECLARE_APP_ARGS(args,
AST_APP_ARG(family); AST_APP_ARG(family);