From 4b038f13dece49f84df5da9604c091db81e678f8 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Fri, 26 Mar 2010 14:04:03 +0000 Subject: [PATCH] sys_thread_new: name is a const pointer --- src/include/lwip/sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */