diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-27 23:16:08 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-27 23:16:08 +0000 |
commit | 3bae4f9508f5c0cfc345e1c56b8a3fee434ceeb7 (patch) | |
tree | 0c7a3f114e15b8ef6f98a8dd61497997c9bf7735 /include | |
parent | fafa6738a3e225eb27e3af06cdefd266f1119679 (diff) |
more simplification, and correct a bug i introduced in the last commit
fix prototype for a channel walking function to use a const input pointer
use existing channel walk by name prefix instead of reproducing that code in this app
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38389 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index d3d5862ad..06a895293 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -874,7 +874,7 @@ struct ast_channel *ast_get_channel_by_name_locked(const char *chan); struct ast_channel *ast_get_channel_by_name_prefix_locked(const char *name, const int namelen); /*! \brief Get channel by name prefix (locks channel) */ -struct ast_channel *ast_walk_channel_by_name_prefix_locked(struct ast_channel *chan, const char *name, const int namelen); +struct ast_channel *ast_walk_channel_by_name_prefix_locked(const struct ast_channel *chan, const char *name, const int namelen); /*! \brief Get channel by exten (and optionally context) and lock it */ struct ast_channel *ast_get_channel_by_exten_locked(const char *exten, const char *context); |