From a2c426f29fb2dca512c9b029b839aeeac6963017 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Mon, 15 Jun 2009 19:10:10 +0000 Subject: 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 --- apps/app_url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_url.c') diff --git a/apps/app_url.c b/apps/app_url.c index 234cff619..a36daa26b 100644 --- a/apps/app_url.c +++ b/apps/app_url.c @@ -82,9 +82,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") static char *app = "SendURL"; -enum { +enum option_flags { OPTION_WAIT = (1 << 0), -} option_flags; +}; AST_APP_OPTIONS(app_opts,{ AST_APP_OPTION('w', OPTION_WAIT), -- cgit v1.2.3