LWIP sys_thread_new() should not modify the thread name in input,
fixed using the const qualifier.
This is also fixed in upstream LWIP code.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4835
38d2e660-2303-0410-9eaa-
f027e97ec537
static int last_stack;
#endif
-sys_thread_t sys_thread_new(char *name, void (* thread)(void *arg),
+sys_thread_t sys_thread_new(const char *name, void (* thread)(void *arg),
void *arg, int stacksize, int prio)
{
ThreadNode *thread_node;
void sys_mbox_fetch(sys_mbox_t mbox, void **msg);
/* Thread functions. */
-sys_thread_t sys_thread_new(char *name, void (* thread)(void *arg), void *arg, int stacksize, int prio);
+sys_thread_t sys_thread_new(const char *name, void (* thread)(void *arg), void *arg, int stacksize, int prio);
#endif /* NO_SYS */