mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +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:
@@ -569,7 +569,7 @@ static int acf_curl2_exec(struct ast_channel *chan, const char *cmd, char *info,
|
||||
return acf_curl_helper(chan, cmd, info, NULL, buf, len);
|
||||
}
|
||||
|
||||
struct ast_custom_function acf_curl = {
|
||||
static struct ast_custom_function acf_curl = {
|
||||
.name = "CURL",
|
||||
.synopsis = "Retrieves the contents of a URL",
|
||||
.syntax = "CURL(url[,post-data])",
|
||||
@@ -580,7 +580,7 @@ struct ast_custom_function acf_curl = {
|
||||
.read2 = acf_curl2_exec,
|
||||
};
|
||||
|
||||
struct ast_custom_function acf_curlopt = {
|
||||
static struct ast_custom_function acf_curlopt = {
|
||||
.name = "CURLOPT",
|
||||
.synopsis = "Set options for use with the CURL() function",
|
||||
.syntax = "CURLOPT(<option>)",
|
||||
|
||||
Reference in New Issue
Block a user