summaryrefslogtreecommitdiffstats
path: root/include/command.h
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-10-22 18:45:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-22 20:47:03 +0200
commiteab2d21f6e351fe2a7516055f58e96987dc15a90 (patch)
treee44ddf2af12b3a670493f85036d9f8962db83b77 /include/command.h
parentb99f850bc764e21683ecec9a6d44a8de4c358e7f (diff)
downloadbarebox-eab2d21f6e351fe2a7516055f58e96987dc15a90.tar.gz
barebox-eab2d21f6e351fe2a7516055f58e96987dc15a90.tar.xz
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>
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/command.h b/include/command.h
index e235f632e2..0be7a69538 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 */