doc: avoid that doxygen parses magic in command.h
Don't let doxygen parse the command magic, which leads to these warnings: command.h:93: Warning: explicit link request to 'define' could not be resolved command.h:98: Warning: expected <tr> tag but found TK_LNKWORD token instead! command.h:98: Warning: Found unknown command `\t' command.h:101: Warning: explicit link request to 'define' could not be resolved command.h:103: Warning: explicit link request to 'define' could not be resolved Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
b99f850bc7
commit
eab2d21f6e
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue