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
This commit is contained in:
Kevin P. Fleming
2009-06-15 19:10:10 +00:00
parent 82fb56886e
commit aaeec3b40f
16 changed files with 76 additions and 47 deletions

View File

@@ -351,7 +351,7 @@ static int fax_generator_generate(struct ast_channel *chan, void *data, int len,
return 0;
}
struct ast_generator generator = {
static struct ast_generator generator = {
alloc: fax_generator_alloc,
generate: fax_generator_generate,
};