Skip to content

Commit

Permalink
Merge pull request #16878 from mariemC/auto_init_compatibilty
Browse files Browse the repository at this point in the history
sys/auto_init: change gnrc ipv6 and tcp types.
  • Loading branch information
benpicco authored Sep 22, 2021
2 parents cc3df3e + 9b9048a commit 3e285a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/auto_init/auto_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
#include <stdint.h>
#include <stdio.h>

#include "sched.h"
#include "auto_init.h"
#include "kernel_defines.h"
#include "log.h"
Expand Down Expand Up @@ -90,7 +90,7 @@ void auto_init(void)
}
if (IS_USED(MODULE_AUTO_INIT_GNRC_IPV6)) {
LOG_DEBUG("Auto init gnrc_ipv6.\n");
extern void gnrc_ipv6_init(void);
extern kernel_pid_t gnrc_ipv6_init(void);
gnrc_ipv6_init();
}
if (IS_USED(MODULE_AUTO_INIT_GNRC_UDP)) {
Expand All @@ -100,7 +100,7 @@ void auto_init(void)
}
if (IS_USED(MODULE_AUTO_INIT_GNRC_TCP)) {
LOG_DEBUG("Auto init gnrc_tcp.\n");
extern void gnrc_tcp_init(void);
extern int gnrc_tcp_init(void);
gnrc_tcp_init();
}
if (IS_USED(MODULE_AUTO_INIT_LWIP)) {
Expand Down

0 comments on commit 3e285a2

Please sign in to comment.