aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-09-18 23:49:40 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-09-21 10:58:38 +0200
commit016c39c3b24e390f4672e3a2a649230acab0afd3 (patch)
tree224b6495d469e27ff3105dc724c1e4e9534df601
parent1a58da936588234780197bfc87b65a2f7b8a39a0 (diff)
downloadu-boot-016c39c3b24e390f4672e3a2a649230acab0afd3.zip
u-boot-016c39c3b24e390f4672e3a2a649230acab0afd3.tar.gz
u-boot-016c39c3b24e390f4672e3a2a649230acab0afd3.tar.bz2
doc: include/getopt.h: remove comments confusing Sphinx
The Sphinx documentation build process cannot handle the interspersed 'private:' and 'public:' comments. Remove them. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--include/getopt.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/getopt.h b/include/getopt.h
index 8645082..0cf7ee8 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -20,11 +20,9 @@ struct getopt_state {
* parsed all of @argv, then @index will equal @argc.
*/
int index;
- /* private: */
/** @arg_index: Index within the current argument */
int arg_index;
union {
- /* public: */
/**
* @opt: Option being parsed when an error occurs. @opt is only
* valid when getopt() returns ``?`` or ``:``.
@@ -35,7 +33,6 @@ struct getopt_state {
* is only valid when getopt() returns an option character.
*/
char *arg;
- /* private: */
};
};