osd-contiki/core/net
Benoît Thébaudeau 8fd7719c07 noncoresec: Fix build errors with DEBUG set to 1
Fix these build errors, which are generated if DEBUG is set to 1:

../../core/net/llsec/noncoresec/noncoresec.c: In function 'parse':
../../core/net/llsec/noncoresec/noncoresec.c:198:54: error: expected ')' before 'PRIu32'
     PRINTF("noncoresec: received unauthentic frame %"PRIu32"\n",
                                                      ^
../../core/net/llsec/noncoresec/noncoresec.c:88:28: note: in definition of macro 'PRINTF'
 #define PRINTF(...) printf(__VA_ARGS__)
                            ^
../../core/net/llsec/noncoresec/noncoresec.c:198:12: warning: spurious trailing '%' in format [-Wformat=]
     PRINTF("noncoresec: received unauthentic frame %"PRIu32"\n",
            ^
../../core/net/llsec/noncoresec/noncoresec.c:88:28: note: in definition of macro 'PRINTF'
 #define PRINTF(...) printf(__VA_ARGS__)
                            ^
../../core/net/llsec/noncoresec/noncoresec.c:198:12: warning: spurious trailing '%' in format [-Wformat=]
     PRINTF("noncoresec: received unauthentic frame %"PRIu32"\n",
            ^
../../core/net/llsec/noncoresec/noncoresec.c:88:28: note: in definition of macro 'PRINTF'
 #define PRINTF(...) printf(__VA_ARGS__)
                            ^
../../core/net/llsec/noncoresec/noncoresec.c:231:54: error: expected ')' before 'PRIu32'
        PRINTF("noncoresec: received replayed frame %"PRIu32"\n",
                                                      ^
../../core/net/llsec/noncoresec/noncoresec.c:88:28: note: in definition of macro 'PRINTF'
 #define PRINTF(...) printf(__VA_ARGS__)
                            ^
../../core/net/llsec/noncoresec/noncoresec.c:231:15: warning: spurious trailing '%' in format [-Wformat=]
        PRINTF("noncoresec: received replayed frame %"PRIu32"\n",
               ^
../../core/net/llsec/noncoresec/noncoresec.c:88:28: note: in definition of macro 'PRINTF'
 #define PRINTF(...) printf(__VA_ARGS__)
                            ^
../../core/net/llsec/noncoresec/noncoresec.c:231:15: warning: spurious trailing '%' in format [-Wformat=]
        PRINTF("noncoresec: received replayed frame %"PRIu32"\n",
               ^
../../core/net/llsec/noncoresec/noncoresec.c:88:28: note: in definition of macro 'PRINTF'
 #define PRINTF(...) printf(__VA_ARGS__)
                            ^

PRIu32 is not defined, so replace it with a standard format directive.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2016-06-23 22:10:43 +02:00
..
http-socket Merge pull request #1696 from momote-io/fixes 2016-06-05 12:46:59 +02:00
ip Prevent uIP buffer over-read with big UDP packets 2016-06-15 10:51:20 +02:00
ip64 Fix ip64 warnings 2016-02-04 00:26:54 +01:00
ipv4 Merge pull request #1303 from oliverschmidt/master 2015-10-10 19:55:28 +02:00
ipv6 uip-icmp6.c: call rpl_insert_header only when UIP_CONF_IPV6_RPL is set 2016-06-08 14:03:28 +02:00
llsec noncoresec: Fix build errors with DEBUG set to 1 2016-06-23 22:10:43 +02:00
mac Update the list of supported platforms in TSCH README file 2016-06-14 19:47:59 +03:00
rime fix the bug about chalemeon raw hdrsize 2016-05-25 10:28:47 +08:00
rpl fix for compilation with clang - issue reported by Olaf Bergmann 2016-06-13 16:18:16 +02:00
link-stats.c link_stats_input_callback: do not use EWMA when initializing RSSI 2016-06-03 18:43:35 +02:00
link-stats.h Added link-stats module to keep strack of link statistics and their freshness 2016-06-03 15:46:04 +02:00
linkaddr.c [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
linkaddr.h [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
nbr-table.c added error check for extraction of aligned llao 2016-04-22 15:03:03 +02:00
nbr-table.h Link-stats: use new nbr table API 2016-06-03 16:44:12 +02:00
net-debug.c Added net-debug.[ch] to provide debug functions even in the non-IP case 2016-04-26 16:08:10 +02:00
net-debug.h Added net-debug.[ch] to provide debug functions even in the non-IP case 2016-04-26 16:08:10 +02:00
netstack.c netstack: Fix missing llsec init 2016-01-04 00:28:26 +01:00
netstack.h llsec: Added a layer in between NETSTACK_MAC and NETSTACK_NETWORK for implementing link layer security 2014-08-04 01:09:57 -07:00
packetbuf.c packetbuf: No more splitting of header and data 2016-04-15 03:12:40 -07:00
packetbuf.h Merge pull request #1425 from kkrentz/llsec-fixes 2016-04-19 17:29:00 +02:00
queuebuf.c Remove the unused reference queuebufs, as they only make the code more complex than it needs to be 2015-04-01 10:01:57 +02:00
queuebuf.h [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00