mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user