Merge pull request #1905 from nfi/compiler-warnings-cc2538

Fixed compiler warnings for CC2538-based platforms
This commit is contained in:
Benoît Thébaudeau 2016-10-26 13:12:47 +02:00 committed by GitHub
commit 0e7750489a
3 changed files with 3 additions and 0 deletions

View file

@ -40,6 +40,7 @@
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "dev/ecc-algorithm.h" #include "dev/ecc-algorithm.h"
#include "dev/ecc-driver.h" #include "dev/ecc-driver.h"

View file

@ -40,6 +40,7 @@
#include "ieee-addr.h" #include "ieee-addr.h"
#include <stdint.h> #include <stdint.h>
#include <string.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void void
ieee_addr_cpy_to(uint8_t *dst, uint8_t len) ieee_addr_cpy_to(uint8_t *dst, uint8_t len)

View file

@ -4,6 +4,7 @@
#include "usb-core.h" #include "usb-core.h"
#include <stdio.h> #include <stdio.h>
#include <string.h>
#ifdef DEBUG #ifdef DEBUG
#define PRINTF(...) printf(__VA_ARGS__) #define PRINTF(...) printf(__VA_ARGS__)