this structure should be static
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 14 Oct 2008 10:32:01 +0000 (10:32 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 14 Oct 2008 10:32:01 +0000 (10:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148737 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index fe93f33..d781323 100644 (file)
@@ -15262,7 +15262,7 @@ static int function_sippeer(struct ast_channel *chan, const char *cmd, char *dat
 }
 
 /*! \brief Structure to declare a dialplan function: SIPPEER */
-struct ast_custom_function sippeer_function = {
+static struct ast_custom_function sippeer_function = {
        .name = "SIPPEER",
        .synopsis = "Gets SIP peer information",
        .syntax = "SIPPEER(<peername>[,item])",