fix various compiler warnings

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-04-21 06:30:23 +00:00
parent 1f9ab2380a
commit a729a57ba1
11 changed files with 25 additions and 22 deletions

View File

@@ -104,7 +104,6 @@ struct chanspy_translation_helper {
};
/* Prototypes */
static struct ast_channel *local_get_channel_by_name(char *name);
static struct ast_channel *local_get_channel_begin_name(char *name);
static struct ast_channel *local_channel_walk(struct ast_channel *chan);
static void spy_release(struct ast_channel *chan, void *data);
@@ -118,6 +117,7 @@ static int channel_spy(struct ast_channel *chan, struct ast_channel *spyee, int
static int chanspy_exec(struct ast_channel *chan, void *data);
#if 0
static struct ast_channel *local_get_channel_by_name(char *name)
{
struct ast_channel *ret;
@@ -129,6 +129,7 @@ static struct ast_channel *local_get_channel_by_name(char *name)
return ret;
}
#endif
static struct ast_channel *local_channel_walk(struct ast_channel *chan)
{