summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/maint.mk b/maint.mk
index 4c50d0010..df6b7f3a6 100644
--- a/maint.mk
+++ b/maint.mk
@@ -485,7 +485,7 @@ sc_proper_name_utf8_requires_ICONV:
sc_const_long_option:
@grep '^ *static.*struct option ' $$($(VC_LIST_EXCEPT)) \
- | grep -v 'const struct option const' && { \
+ | grep -Ev 'const struct option|struct option const' && { \
echo 1>&2 '$(ME): add "const" to the above declarations'; \
exit 1; } || :