diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:14:33 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:14:33 +0000 |
commit | 87686ce87549113edc29ea5f32d96b7a90be509d (patch) | |
tree | e9add4fc02f476def2f55761228016937b1df512 /main/udptl.c | |
parent | 5d7578f0041b89aa14eb6369c78d12bcc70df6d8 (diff) |
Merged revisions 49006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines
since these variables all have static duration, none of them need initializers (they default to zero anyway)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49008 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/udptl.c')
-rw-r--r-- | main/udptl.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/main/udptl.c b/main/udptl.c index 42594af91..42bf7af5a 100644 --- a/main/udptl.c +++ b/main/udptl.c @@ -55,17 +55,17 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #define TRUE (!FALSE) #endif -static int udptlstart = 0; -static int udptlend = 0; -static int udptldebug = 0; /* Are we debugging? */ +static int udptlstart; +static int udptlend; +static int udptldebug; /* Are we debugging? */ static struct sockaddr_in udptldebugaddr; /* Debug packets to/from this host */ #ifdef SO_NO_CHECK -static int nochecksums = 0; +static int nochecksums; #endif -static int udptlfectype = 0; -static int udptlfecentries = 0; -static int udptlfecspan = 0; -static int udptlmaxdatagram = 0; +static int udptlfectype; +static int udptlfecentries; +static int udptlfecspan; +static int udptlmaxdatagram; #define LOCAL_FAX_MAX_DATAGRAM 400 #define MAX_FEC_ENTRIES 5 @@ -137,7 +137,7 @@ struct ast_udptl { udptl_fec_rx_buffer_t rx[UDPTL_BUF_MASK + 1]; }; -static struct ast_udptl_protocol *protos = NULL; +static struct ast_udptl_protocol *protos; static int udptl_rx_packet(struct ast_udptl *s, uint8_t *buf, int len); static int udptl_build_packet(struct ast_udptl *s, uint8_t *buf, uint8_t *ifp, int ifp_len); |