1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 01:11:21 +01:00
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
..
2022-01-13 17:50:59 +01:00
2022-04-26 09:26:02 +02:00
2021-12-03 10:12:37 +01:00
2022-03-09 09:12:23 +01:00
2021-12-03 10:12:37 +01:00
2021-10-02 14:45:10 +02:00
2022-02-17 10:54:04 +01:00
2022-04-25 16:05:28 +02:00
2021-12-03 10:12:37 +01:00
2022-04-27 11:12:27 +02:00
2022-02-28 10:23:06 +01:00
2022-04-25 13:08:50 +02:00
2022-05-03 16:09:20 +02:00
2021-12-03 10:12:37 +01:00
2022-01-13 17:50:59 +01:00
2022-02-02 14:44:50 +01:00
2021-12-03 10:12:34 +01:00
2022-04-28 08:49:54 +02:00
2021-11-17 15:31:17 +01:00
2021-10-01 14:44:10 +02:00
2022-04-22 15:22:34 +02:00