1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/openwsn
Marian Buschsieweke e38259fd0a
pkg/openwsn: fix mismatching function signatures
This allows OpenWSN again to be compiled with newer versions of GCC,
which in `master` fails with:

```
"make" -C /home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto -f /home/maribu/Repos/software/RIOT/Makefile.base MODULE=openwsn_crypto
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:49:30: error: argument 1 of type 'uint8_t[16]' {aka 'unsigned char[16]'} with mismatched bound [-Werror=array-parameter=]
   49 | owerror_t aes128_enc(uint8_t buffer[16], uint8_t key[16]) {
      |                      ~~~~~~~~^~~~~~~~~~
In file included from /home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:12:
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.h:22:31: note: previously declared as 'uint8_t *' {aka 'unsigned char *'}
   22 | owerror_t aes128_enc(uint8_t *buffer, uint8_t *key);
      |                      ~~~~~~~~~^~~~~~
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:49:50: error: argument 2 of type 'uint8_t[16]' {aka 'unsigned char[16]'} with mismatched bound [-Werror=array-parameter=]
   49 | owerror_t aes128_enc(uint8_t buffer[16], uint8_t key[16]) {
      |                                          ~~~~~~~~^~~~~~~
In file included from /home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:12:
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.h:22:48: note: previously declared as 'uint8_t *' {aka 'unsigned char *'}
   22 | owerror_t aes128_enc(uint8_t *buffer, uint8_t *key);
      |                                       ~~~~~~~~~^~~
cc1: all warnings being treated as errors
```
2022-05-05 10:47:39 +02:00
..
contrib pkg/openwsn: don't block IDLE mode 2022-04-21 12:03:34 +02:00
include treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
patches pkg/openwsn: fix mismatching function signatures 2022-05-05 10:47:39 +02:00
scheduler pkg/openwsn/scheduler: fix debugpins ordering 2020-10-23 15:31:57 +02:00
sock pkg/openwsn/sock: implement sock_udp_sendv_aux() 2022-02-22 10:05:41 +01:00
doc.txt pkg/openwsn: update doc 2021-11-04 17:25:09 +01:00
Makefile pkg/openwsn: add -Wno-cast-align 2021-12-03 10:12:36 +01:00
Makefile.dep sys/net: Add ipv6 pseudomodule 2021-10-08 10:27:22 +02:00
Makefile.include sys/net/sock: Set SOCK_HAS_IPV6 in one place 2021-10-11 21:37:39 +02:00