diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 17:06:34 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 17:06:34 +0000 |
commit | 43792496747f84ee565c35ef6e0262192e0663cb (patch) | |
tree | fbacfc29514ed10d75a39d84509b69cc9a3388fc /channels/chan_iax2.c | |
parent | 78ee46f13f6900b3deee64c97c17649c16b1dce0 (diff) |
Convert a number of global module variables to 'static'.
These modules all contained variables that are module-global but not system-global,
but were not marked 'static'.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 4640faab2..c90bc5fd0 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -305,7 +305,7 @@ static struct ast_netsock_list *netsock; static struct ast_netsock_list *outsock; /*!< used if sourceaddress specified and bindaddr == INADDR_ANY */ static int defaultsockfd = -1; -int (*iax2_regfunk)(const char *username, int onoff) = NULL; +static int (*iax2_regfunk)(const char *username, int onoff) = NULL; /* Ethernet, etc */ #define IAX_CAPABILITY_FULLBANDWIDTH 0xFFFF @@ -12318,7 +12318,7 @@ static int function_iaxpeer(struct ast_channel *chan, const char *cmd, char *dat return 0; } -struct ast_custom_function iaxpeer_function = { +static struct ast_custom_function iaxpeer_function = { .name = "IAXPEER", .read = function_iaxpeer, }; |