summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 20:02:41 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 20:05:54 +0100
commitfad26f7329b80b9c38bf782353f137246dd8fd07 (patch)
tree7e7fb90e4e3cd06a09027b687c7ce59e48f3069f /maint.mk
parent59fa9ceeea8d3694c03a533b306d846b7eb5b7c3 (diff)
downloadgnutls-fad26f7329b80b9c38bf782353f137246dd8fd07.tar.gz
Added timer_time.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/maint.mk b/maint.mk
index 1dd6493514..ee721de303 100644
--- a/maint.mk
+++ b/maint.mk
@@ -303,11 +303,12 @@ sc_prohibit_atoi_atof:
$(_sc_search_regexp)
# Use STREQ rather than comparing strcmp == 0, or != 0.
+sp_ = strcmp *\(.+\)
sc_prohibit_strcmp:
- @grep -nE '! *str''cmp *\(|\<str''cmp *\(.+\) *[!=]=' \
+ @grep -nE '! *strcmp *\(|\<$(sp_) *[!=]=|[!=]= *$(sp_)' \
$$($(VC_LIST_EXCEPT)) \
| grep -vE ':# *define STRN?EQ\(' && \
- { echo '$(ME): replace str''cmp calls above with STREQ/STRNEQ' \
+ { echo '$(ME): replace strcmp calls above with STREQ/STRNEQ' \
1>&2; exit 1; } || :
# Pass EXIT_*, not number, to usage, exit, and error (when exiting)