1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OP-976: Fix uncrustify changes that put a space before the ";" in the macro

This commit is contained in:
Mathieu Rondonneau 2013-06-05 19:46:55 -07:00
parent 89273146df
commit a8c946dcb2
3 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ extern initmodule_t __module_initcall_start[], __module_initcall_end[];
extern void InitModules();
extern void StartModules();
#define MODULE_INITCALL(ifn, sfn);
#define MODULE_INITCALL(ifn, sfn)
#define MODULE_TASKCREATE_ALL \
{ \
@ -87,9 +87,9 @@ extern void StartModules();
#define __define_module_initcall(level, ifn, sfn) \
static initmodule_t __initcall_##ifn __attribute__((__used__)) \
__attribute__((__section__(".initcall" level ".init"))) = { .fn_minit = ifn, .fn_tinit = sfn };
__attribute__((__section__(".initcall" level ".init"))) = { .fn_minit = ifn, .fn_tinit = sfn }
#define MODULE_INITCALL(ifn, sfn); __define_module_initcall("module", ifn, sfn)
#define MODULE_INITCALL(ifn, sfn) __define_module_initcall("module", ifn, sfn)
#define MODULE_INITIALISE_ALL \
{ for (initmodule_t *fn = __module_initcall_start; fn < __module_initcall_end; fn++) { \

View File

@ -51,7 +51,7 @@ extern initmodule_t __module_initcall_start[], __module_initcall_end[];
extern void InitModules();
extern void StartModules();
#define MODULE_INITCALL(ifn, sfn);
#define MODULE_INITCALL(ifn, sfn)
#define MODULE_TASKCREATE_ALL \
{ \

View File

@ -38,7 +38,7 @@
* and we cannot define a linker script for each of them atm
*/
#define MODULE_INITCALL(ifn, sfn);
#define MODULE_INITCALL(ifn, sfn)
#define MODULE_TASKCREATE_ALL