diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-15 19:10:10 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-15 19:10:10 +0000 |
commit | a2c426f29fb2dca512c9b029b839aeeac6963017 (patch) | |
tree | 8a1a80416690533a588361b6c578d0f999f49477 /apps/app_page.c | |
parent | 5fa0b7c277ad400a1029e71d51e83817414129a5 (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: http://svn.digium.com/svn/asterisk/trunk@200656 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_page.c')
-rw-r--r-- | apps/app_page.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_page.c b/apps/app_page.c index b277dab56..04f9f98c5 100644 --- a/apps/app_page.c +++ b/apps/app_page.c @@ -101,13 +101,13 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") ***/ static const char * const app_page= "Page"; -enum { +enum page_opt_flags { PAGE_DUPLEX = (1 << 0), PAGE_QUIET = (1 << 1), PAGE_RECORD = (1 << 2), PAGE_SKIP = (1 << 3), PAGE_IGNORE_FORWARDS = (1 << 4), -} page_opt_flags; +}; AST_APP_OPTIONS(page_opts, { AST_APP_OPTION('d', PAGE_DUPLEX), |