summaryrefslogtreecommitdiff
path: root/src/login/loginctl.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-02-23 17:20:49 +0100
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:23:22 +0100
commitc6999740c1a68767c5397306b8d7e14e08533111 (patch)
tree124f416e54ea418a3538f3e53457aa809112ab69 /src/login/loginctl.c
parent3c55423a96cf68ea1c947b512123de2f0bc95ec0 (diff)
Fixed gawk script for git-tar target.
The previous variant was nice and sleek. But unfortunately, there are constructs like: #if 0 (... old code ...) #else (... alternative code for elogind ...) #endif // 0 These fragments couldn't be handled by the old code, but can by the new one. To make this work, the precompiler macros must be set like shown above. Apart from that, all lines like: /// Any doxygen one-line-comments with elogind in it are removed are removed, too. Please note the three slashes. And finally, all commented out #include directives are removed as well.
Diffstat (limited to 'src/login/loginctl.c')
-rw-r--r--src/login/loginctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c
index 7b259ce21..080d64a0c 100644
--- a/src/login/loginctl.c
+++ b/src/login/loginctl.c
@@ -1538,7 +1538,7 @@ static int parse_argv(int argc, char *argv[]) {
#if 0
{ "lines", required_argument, NULL, 'n' },
{ "output", required_argument, NULL, 'o' },
-#endif //
+#endif // 0
{ "ignore-inhibitors", no_argument, NULL, 'i' },
{}
};