diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-10-17 10:33:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-10-17 10:33:37 +0000 |
commit | 26ed3732876a649fb02a83e768e4392034d65653 (patch) | |
tree | 35d18da4d34fc6cf74a93112df3b27efa4a46662 /demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch | |
parent | cbbe7cce8c93cf578d35cde1506e83a802e4eb05 (diff) | |
download | ChibiOS-26ed3732876a649fb02a83e768e4392034d65653.tar.gz ChibiOS-26ed3732876a649fb02a83e768e4392034d65653.tar.bz2 ChibiOS-26ed3732876a649fb02a83e768e4392034d65653.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1229 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch')
-rw-r--r-- | demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c index 65b1b5314..0a78a3653 100644 --- a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c +++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c @@ -146,6 +146,7 @@ struct sys_timeouts *sys_arch_timeouts(void) { sys_thread_t sys_thread_new(char *name, void (* thread)(void *arg),
void *arg, int stacksize, int prio) {
+ (void)name;
size_t wsz = THD_WA_SIZE(stacksize);
void *wsp = chCoreAlloc(wsz);
if (wsp == NULL)
@@ -161,5 +162,6 @@ sys_prot_t sys_arch_protect(void) { void sys_arch_unprotect(sys_prot_t pval) {
+ (void)pval;
chSysUnlock();
}
|