diff options
author | Russell Bryant <russell@russellbryant.com> | 2009-06-07 14:55:51 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2009-06-07 14:55:51 +0000 |
commit | 12ff77f9757d240de38f0a3d6ed569831eeecf95 (patch) | |
tree | 2042818ecf72a633218fb22c72ba5e69ba659df3 /apps/app_disa.c | |
parent | d03fbf2ec55f3793d9978975e6a454748fd63d26 (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_disa.c')
-rw-r--r-- | apps/app_disa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c index b7ca23cfc..b86b8f634 100644 --- a/apps/app_disa.c +++ b/apps/app_disa.c @@ -110,12 +110,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </see-also> </application> ***/ -static char *app = "DISA"; +static const char app[] = "DISA"; enum { NOANSWER_FLAG = (1 << 0), POUND_TO_END_FLAG = (1 << 1), -} option_flags; +}; AST_APP_OPTIONS(app_opts, { AST_APP_OPTION('n', NOANSWER_FLAG), |