← Commit list

84f75b0b9

Denis Vlasenko
Denis Vlasenko
2007-04-15
FAILED Duration: 13s

Subject

doc: fix code example which may provoke warning

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/style-guide.txt+1 -1
@@ -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()