1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/auto_init: change gnrc ipv6 and tcp types.

This commit is contained in:
mariem 2021-09-22 14:01:41 +02:00
parent 0b7eb2bbc9
commit 9b9048af86

View File

@ -21,7 +21,7 @@
*/
#include <stdint.h>
#include <stdio.h>
#include "sched.h"
#include "auto_init.h"
#include "kernel_defines.h"
#include "log.h"
@ -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)) {
@ -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)) {