maint.mk: improve sc_prohibit_strcmp regex
authorEric Blake <eblake@redhat.com>
Thu, 6 Jan 2011 21:24:57 +0000 (14:24 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 7 Jan 2011 00:08:15 +0000 (17:08 -0700)
commit456a9f9a86c8b4e71f38003027dfbaa45c19bf20
treef8e87c064198a81cbf10f071063e1ff5f8d7e307
parentbf2f355f6c882bfbefdaaa8c9b88b621c34a3c83
maint.mk: improve sc_prohibit_strcmp regex

* top/maint.mk (sc_prohibit_strcmp): Detect strcmp()!=0, as
documented.  Also, detect strcmp((expr),expr) == 0.  Exempt the
definition of STRNEQ.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
top/maint.mk