diff options
author | Jim Meyering <meyering@redhat.com> | 2010-02-14 19:28:39 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-02-14 19:28:39 +0100 |
commit | a1d565aa5b47ec56243e74d4ac8b4988a751fef2 (patch) | |
tree | 540ae53066d874aac9fbdcc0874da08be9f9c814 /top | |
parent | 01944b9984e7a297829374dfbb35aadbc559102a (diff) | |
download | gnulib-a1d565aa5b47ec56243e74d4ac8b4988a751fef2.tar.gz |
maint.mk: prohibit inclusion of "hash-pjw.h" without_use
* top/maint.mk (sc_prohibit_hash_without_use): Re-add "@".
(sc_prohibit_hash_pjw_without_use): New rule.
Diffstat (limited to 'top')
-rw-r--r-- | top/maint.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk index cfe0fd75b2..128de8b0f8 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -374,10 +374,15 @@ clear|delete|free|get_(first|next)|insert|lookup|print_statistics|reset_tuning _hash_fn = \<($(_hash_re)) *\( _hash_struct = (struct )?\<[Hh]ash_(table|tuning)\> sc_prohibit_hash_without_use: - h='"hash.h"' \ + @h='"hash.h"' \ re='$(_hash_fn)|$(_hash_struct)'\ $(_header_without_use) +sc_prohibit_hash_pjw_without_use: + @h='"hash-pjw.h"' \ + re='\<hash_pjw *\(' \ + $(_header_without_use) + sc_prohibit_safe_read_without_use: @h='"safe-read.h"' re='(\<SAFE_READ_ERROR\>|\<safe_read *\()' \ $(_header_without_use) |