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_adsiprog.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_adsiprog.c')
-rw-r--r-- | apps/app_adsiprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_adsiprog.c b/apps/app_adsiprog.c index b889f96f1..ae302a1e3 100644 --- a/apps/app_adsiprog.c +++ b/apps/app_adsiprog.c @@ -45,7 +45,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/utils.h" #include "asterisk/lock.h" -static char *app = "ADSIProg"; +static const char app[] = "ADSIProg"; /*** DOCUMENTATION <application name="ADSIProg" language="en_US"> @@ -71,7 +71,7 @@ static char *app = "ADSIProg"; struct adsi_event { int id; - char *name; + const char *name; }; static const struct adsi_event events[] = { |