summaryrefslogtreecommitdiff
path: root/apps/app_chanspy.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2009-06-07 14:55:51 +0000
committerRussell Bryant <russell@russellbryant.com>2009-06-07 14:55:51 +0000
commit12ff77f9757d240de38f0a3d6ed569831eeecf95 (patch)
tree2042818ecf72a633218fb22c72ba5e69ba659df3 /apps/app_chanspy.c
parentd03fbf2ec55f3793d9978975e6a454748fd63d26 (diff)
Global var cleanup - constification and removing unused vars.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@199479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_chanspy.c')
-rw-r--r--apps/app_chanspy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index c3d0f901e..2961cc57e 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -325,11 +325,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</application>
***/
-static const char * const app_chan = "ChanSpy";
+static const char app_chan[] = "ChanSpy";
-static const char * const app_ext = "ExtenSpy";
+static const char app_ext[] = "ExtenSpy";
-static const char * const app_dahdiscan = "DAHDIScan";
+static const char app_dahdiscan[] = "DAHDIScan";
enum {
OPTION_QUIET = (1 << 0), /* Quiet, no announcement */
@@ -349,7 +349,7 @@ enum {
OPTION_DTMF_EXIT = (1 << 14), /* Set DTMF to exit, added for DAHDIScan integration */
OPTION_DTMF_CYCLE = (1 << 15), /* Custom DTMF for cycling next avaliable channel, (default is '*') */
OPTION_DAHDI_SCAN = (1 << 16), /* Scan groups in DAHDIScan mode */
-} chanspy_opt_flags;
+};
enum {
OPT_ARG_VOLUME = 0,
@@ -360,7 +360,7 @@ enum {
OPT_ARG_EXIT,
OPT_ARG_CYCLE,
OPT_ARG_ARRAY_SIZE,
-} chanspy_opt_args;
+};
AST_APP_OPTIONS(spy_opts, {
AST_APP_OPTION('q', OPTION_QUIET),