aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-24 21:56:07 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-24 21:56:07 +0100
commitd5d3b38df8700deced52e66769d692afde6a2350 (patch)
tree85239e67e403c2e6ebbcb6d85e7b90effbe28e44 /make.c
parent7b84db2ca8cd05b7e3c9d204b0d9f20075197490 (diff)
The 3rd field in a struct option is a pointer
Diffstat (limited to 'make.c')
-rw-r--r--make.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/make.c b/make.c
index 087440a..60fdef8 100644
--- a/make.c
+++ b/make.c
@@ -49,9 +49,9 @@ main(int argc, char **argv)
int opt;
cmd_t c = {0};
struct option longopts[] = {
- {"debug", no_argument, 0, 'd'},
- {"no-pcre", no_argument, 0, 'P'},
- {nullptr, 0, 0, 0 },
+ {"debug", no_argument, nullptr, 'd'},
+ {"no-pcre", no_argument, nullptr, 'P'},
+ {nullptr, 0, nullptr, 0 },
};
cbsinit(argc, argv);