projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8acf521
)
doc: fix code example which may provoke warning
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Apr 2007 11:50:41 +0000
(11:50 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Apr 2007 11:50:41 +0000
(11:50 -0000)
docs/style-guide.txt
patch
|
blob
|
history
diff --git
a/docs/style-guide.txt
b/docs/style-guide.txt
index 5bb3441cdf6c012ae79c02dbc9004271177ee693..381275a1ddca70ce4bd381efbcca06e6733aa97f 100644
(file)
--- a/
docs/style-guide.txt
+++ b/
docs/style-guide.txt
@@
-682,7
+682,7
@@
Then have long options defined:
static const struct option <applet>_long_options[] = {
{ "list", 0, NULL, 't' },
{ "extract", 0, NULL, 'x' },
- { NULL }
+ { NULL
, 0, NULL, 0
}
};
And a code block similar to the following near the top of your applet_main()