diff --git a/src/include/lwip/sys.h b/src/include/lwip/sys.h index 018ff0ca..9f62c754 100644 --- a/src/include/lwip/sys.h +++ b/src/include/lwip/sys.h @@ -215,7 +215,7 @@ void sys_mbox_set_invalid(sys_mbox_t *mbox); * @param arg parameter passed to 'thread' * @param stacksize stack size in bytes for the new thread (may be ignored by ports) * @param prio priority of the new thread (may be ignored by ports) */ -sys_thread_t sys_thread_new(char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio); +sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio); #endif /* NO_SYS */