mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-03 05:23:26 -07:00
-Move declaration of callevents variable out of the block of function declarations.
-Do not set it to a default value, it's set later on before loading configuration. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+1
-1
@@ -883,6 +883,7 @@ static char externhost[MAXHOSTNAMELEN] = "";
|
||||
static time_t externexpire = 0;
|
||||
static int externrefresh = 10;
|
||||
static struct ast_ha *localaddr;
|
||||
static int callevents; /*!< Whether we send manager events or not */
|
||||
|
||||
/* The list of manual NOTIFY types we know how to send */
|
||||
struct ast_config *notify_types;
|
||||
@@ -912,7 +913,6 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, int
|
||||
static struct sip_user *build_user(const char *name, struct ast_variable *v, int realtime);
|
||||
static int sip_do_reload(void);
|
||||
static int expire_register(void *data);
|
||||
static int callevents = 0;
|
||||
|
||||
static struct ast_channel *sip_request_call(const char *type, int format, void *data, int *cause);
|
||||
static int sip_devicestate(void *data);
|
||||
|
||||
Reference in New Issue
Block a user