1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP

lwip_tcp: fix build with DEVELHELP=0
This commit is contained in:
Francisco 2021-08-16 08:37:14 +02:00 committed by GitHub
commit c1d28d69a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -224,7 +224,6 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
return res;
}
#ifdef DEVELHELP
static kernel_pid_t lwip_tcpip_thread = KERNEL_PID_UNDEF;
static kernel_pid_t lwip_lock_thread;
@ -252,6 +251,5 @@ bool sys_check_core_locked(void) {
}
return true;
}
#endif
/** @} */

View File

@ -116,7 +116,6 @@ static inline void sys_mbox_set_invalid(sys_mbox_t *mbox)
typedef kernel_pid_t sys_thread_t; /**< Platform specific thread type */
#if DEVELHELP
/**
* @name Functions for locking/unlocking core to assure thread safety.
* @{
@ -126,7 +125,6 @@ void sys_lock_tcpip_core(void);
void sys_unlock_tcpip_core(void);
#define UNLOCK_TCPIP_CORE() sys_unlock_tcpip_core()
/** @} */
#endif
#ifdef MODULE_RANDOM
/**