fixed warnings from compiler findings

- added missing header definition for tun_alloc
- added missing switch cases -> fixed by TODO/FIXME comment
This commit is contained in:
luckyhacky 2014-11-13 20:35:39 +01:00
parent 698bbe70be
commit d19275b5a8
5 changed files with 36 additions and 2 deletions

View file

@ -31,6 +31,7 @@
#include <tetra_common.h>
#include <lower_mac/tetra_conv_enc.h>
#if 0
static char *dump_state(struct conv_enc_state *ces)
{
static char pbuf[1024];
@ -38,6 +39,7 @@ static char *dump_state(struct conv_enc_state *ces)
ces->delayed[1], ces->delayed[2], ces->delayed[3]);
return pbuf;
}
#endif
/* Mother code according to Section 8.2.3.1.1 */
static uint8_t conv_enc_in_bit(struct conv_enc_state *ces, uint8_t bit, uint8_t *out)