these functions never should have been non-static or in a header file
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 20 Sep 2006 05:01:03 +0000 (05:01 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 20 Sep 2006 05:01:03 +0000 (05:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43313 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/monitor.h
res/res_monitor.c

index 7cddaf5..935a332 100644 (file)
@@ -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 */
index 86d6021..e81325d 100644 (file)
@@ -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);
 }