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_directory.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_directory.c')
-rw-r--r-- | apps/app_directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index d0172e79e..e1f5fb27b 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -113,7 +113,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </application> ***/ -static char *app = "Directory"; +static const char app[] = "Directory"; /* For simplicity, I'm keeping the format compatible with the voicemail config, but i'm open to suggestions for isolating it */ @@ -128,7 +128,7 @@ enum { OPT_LISTBYLASTNAME = (1 << 4), OPT_LISTBYEITHER = OPT_LISTBYFIRSTNAME | OPT_LISTBYLASTNAME, OPT_PAUSE = (1 << 5), -} directory_option_flags; +}; enum { OPT_ARG_FIRSTNAME = 0, |