mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 03:07:59 +00:00
More 'static' qualifiers on module global variables.
The 'pglobal' tool is quite handy indeed :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -216,7 +216,7 @@ static int function_enum(struct ast_channel *chan, const char *cmd, char *data,
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned int enum_datastore_id;
|
||||
static unsigned int enum_datastore_id;
|
||||
|
||||
struct enum_result_datastore {
|
||||
struct enum_context *context;
|
||||
@@ -243,7 +243,7 @@ static void erds_destroy_cb(void *data)
|
||||
erds_destroy(erds);
|
||||
}
|
||||
|
||||
const struct ast_datastore_info enum_result_datastore_info = {
|
||||
static const struct ast_datastore_info enum_result_datastore_info = {
|
||||
.type = "ENUMQUERY",
|
||||
.destroy = erds_destroy_cb,
|
||||
};
|
||||
|
Reference in New Issue
Block a user