Merge pull request #515 from kkrentz/warning-pr

Fix to uip-ds6.c
This commit is contained in:
Simon Duquennoy 2018-05-14 23:18:55 +02:00 committed by GitHub
commit 07ddf50267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,7 @@ CFLAGS += -DCONTIKI_BOARD_$(TARGET_BOARD_UPPERCASE)=1
CFLAGS += -DCONTIKI_BOARD_STRING=\"$(BOARD)\"
endif
CFLAGS += -Wno-unused-const-variable
LDFLAGS = -Wl,--fatal-warnings
MODULES += os os/sys os/dev os/lib os/services

View File

@ -91,7 +91,9 @@ static uip_ds6_maddr_t *locmaddr;
static uip_ds6_aaddr_t *locaaddr;
#endif /* UIP_DS6_AADDR_NB */
static uip_ds6_prefix_t *locprefix;
#if (UIP_LLADDR_LEN == 2)
static const uint8_t iid_prefix[] = { 0x00, 0x00 , 0x00 , 0xff , 0xfe , 0x00 };
#endif /* (UIP_LLADDR_LEN == 2) */
/*---------------------------------------------------------------------------*/
void