diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:06:56 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:06:56 +0000 |
commit | bec31308c06801ff6170b9bdbed27cb7c3dcfb9c (patch) | |
tree | 3630ee5a0a14ae6ee9a94c42beda6054b5bb0e65 /main/udptl.c | |
parent | b92384e18833f481cdf28dea1988346ff83a841b (diff) |
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/branches/1.4@49006 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 c275b98bc..6d5c82a2d 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); |