diff --git a/core/sys/process.h b/core/sys/process.h index cc99a4d89..d9eb34863 100644 --- a/core/sys/process.h +++ b/core/sys/process.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: process.h,v 1.8 2007/05/23 22:16:05 oliverschmidt Exp $ + * @(#)$Id: process.h,v 1.9 2007/08/22 10:49:48 ksb Exp $ */ /** @@ -277,9 +277,9 @@ static PT_THREAD(process_thread_##name(struct pt *process_pt, \ process_data_t data)) #if PROCESS_LOADABLE -#define PROCESS_LOAD(name) const struct process *process_load = &name; +#define PROCESS_LOAD(name) const struct process *process_load = &name #else /* PROCESS_LOADABLE */ -#define PROCESS_LOAD(name) +#define PROCESS_LOAD(name) extern int _dummy #endif /* PROCESS_LOADABLE */ CLIF extern const struct process *process_load; @@ -296,7 +296,7 @@ CLIF extern const struct process *process_load; #define PROCESS_NOLOAD(name, strname) \ PROCESS_THREAD(name, ev, data); \ struct process name = { NULL, strname, \ - process_thread_##name }; + process_thread_##name } /** * Declare a process. * diff --git a/core/sys/procinit.h b/core/sys/procinit.h index f00dcdcd0..b590560ee 100644 --- a/core/sys/procinit.h +++ b/core/sys/procinit.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: procinit.h,v 1.1 2006/06/17 22:41:20 adamdunkels Exp $ + * @(#)$Id: procinit.h,v 1.2 2007/08/22 10:49:48 ksb Exp $ */ #ifndef __PROCINIT_H__ #define __PROCINIT_H__ @@ -37,7 +37,7 @@ #if ! CC_NO_VA_ARGS #define PROCINIT(...) \ -const struct process *procinit[] = {__VA_ARGS__, NULL}; +const struct process *procinit[] = {__VA_ARGS__, NULL} #endif void procinit_init(void);