From: Kevin P. Fleming Date: Wed, 20 Sep 2006 05:01:03 +0000 (+0000) Subject: these functions never should have been non-static or in a header file X-Git-Tag: 1.4.0-beta1~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=505c465a3bbee4f29676fba846076b570fd69d50;p=thirdparty%2Fasterisk.git these functions never should have been non-static or in a header file git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43313 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/monitor.h b/include/asterisk/monitor.h index 7cddaf56be..935a332408 100644 --- a/include/asterisk/monitor.h +++ b/include/asterisk/monitor.h @@ -63,8 +63,4 @@ int ast_monitor_pause(struct ast_channel *chan); /* Unpause monitoring of a channel */ int ast_monitor_unpause(struct ast_channel *chan); -int pause_monitor_exec(struct ast_channel *chan, void *data); - -int unpause_monitor_exec(struct ast_channel *chan, void *data); - #endif /* _ASTERISK_MONITOR_H */ diff --git a/res/res_monitor.c b/res/res_monitor.c index 86d6021aff..e81325da7d 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -323,12 +323,12 @@ int ast_monitor_unpause(struct ast_channel *chan) return ast_monitor_set_state(chan, AST_MONITOR_RUNNING); } -int pause_monitor_exec(struct ast_channel *chan, void *data) +static int pause_monitor_exec(struct ast_channel *chan, void *data) { return ast_monitor_pause(chan); } -int unpause_monitor_exec(struct ast_channel *chan, void *data) +static int unpause_monitor_exec(struct ast_channel *chan, void *data) { return ast_monitor_unpause(chan); }