diff --git a/include/command.h b/include/command.h index e235f632e..0be7a6953 100644 --- a/include/command.h +++ b/include/command.h @@ -76,6 +76,8 @@ void barebox_cmd_usage(struct command *cmdtp); #endif /* __ASSEMBLY__ */ +#ifndef DOXYGEN_SHOULD_SKIP_THIS + #define Struct_Section __attribute__ ((unused,section (".barebox_cmd"))) #define BAREBOX_CMD_START(_name) \ @@ -93,6 +95,8 @@ const struct command __barebox_cmd_##_name \ #define BAREBOX_CMD_HELP(text) #endif +#endif /* DOXYGEN_SHOULD_SKIP_THIS */ + int register_command(struct command *); #endif /* __COMMAND_H */