Merge pull request #16878 from mariemC/auto_init_compatibilty
sys/auto_init: change gnrc ipv6 and tcp types.
This commit is contained in:
commit
3e285a2c4a
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include "sched.h"
|
||||||
#include "auto_init.h"
|
#include "auto_init.h"
|
||||||
#include "kernel_defines.h"
|
#include "kernel_defines.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
@ -90,7 +90,7 @@ void auto_init(void)
|
|||||||
}
|
}
|
||||||
if (IS_USED(MODULE_AUTO_INIT_GNRC_IPV6)) {
|
if (IS_USED(MODULE_AUTO_INIT_GNRC_IPV6)) {
|
||||||
LOG_DEBUG("Auto init gnrc_ipv6.\n");
|
LOG_DEBUG("Auto init gnrc_ipv6.\n");
|
||||||
extern void gnrc_ipv6_init(void);
|
extern kernel_pid_t gnrc_ipv6_init(void);
|
||||||
gnrc_ipv6_init();
|
gnrc_ipv6_init();
|
||||||
}
|
}
|
||||||
if (IS_USED(MODULE_AUTO_INIT_GNRC_UDP)) {
|
if (IS_USED(MODULE_AUTO_INIT_GNRC_UDP)) {
|
||||||
@ -100,7 +100,7 @@ void auto_init(void)
|
|||||||
}
|
}
|
||||||
if (IS_USED(MODULE_AUTO_INIT_GNRC_TCP)) {
|
if (IS_USED(MODULE_AUTO_INIT_GNRC_TCP)) {
|
||||||
LOG_DEBUG("Auto init gnrc_tcp.\n");
|
LOG_DEBUG("Auto init gnrc_tcp.\n");
|
||||||
extern void gnrc_tcp_init(void);
|
extern int gnrc_tcp_init(void);
|
||||||
gnrc_tcp_init();
|
gnrc_tcp_init();
|
||||||
}
|
}
|
||||||
if (IS_USED(MODULE_AUTO_INIT_LWIP)) {
|
if (IS_USED(MODULE_AUTO_INIT_LWIP)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user