diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 19:10:10 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 19:10:10 +0000 |
commit | aaeec3b40f147216f6f550de269653eae38e9916 (patch) | |
tree | 8a1a80416690533a588361b6c578d0f999f49477 /apps/app_readexten.c | |
parent | 82fb56886e20e6ed5e97058e68fb32c88029f060 (diff) |
Last batch of 'static' qualifiers for module-level global variables.
Fix up modules in the 'apps' directory, and also correct the bad example of
enum definitions in include/asterisk/app.h, which many developers followed
(thanks for reading the documentation!). In addition, add some basic usage
examples of the 'pahole' and 'pglobal' tools to the coding guidelines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_readexten.c')
-rw-r--r-- | apps/app_readexten.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_readexten.c b/apps/app_readexten.c index ef59aa538..b6b6305a5 100644 --- a/apps/app_readexten.c +++ b/apps/app_readexten.c @@ -111,11 +111,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </function> ***/ -enum { +enum readexten_option_flags { OPT_SKIP = (1 << 0), OPT_INDICATION = (1 << 1), OPT_NOANSWER = (1 << 2), -} readexten_option_flags; +}; AST_APP_OPTIONS(readexten_app_options, { AST_APP_OPTION('s', OPT_SKIP), |