diff options
| author | 2020-09-14 08:40:43 +0000 | |
|---|---|---|
| committer | 2020-09-14 08:40:43 +0000 | |
| commit | 1fb015a8af3a7e9b85db2510147a155826ef04d9 (patch) | |
| tree | 91b8b6a26d148e703635ab9d6b2cc01934af9a76 /usr.bin/dig/lib/isc/symtab.c | |
| parent | Bunch of dead stores and otherwise unused stuff lets us get rid of (diff) | |
| download | wireguard-openbsd-1fb015a8af3a7e9b85db2510147a155826ef04d9.tar.xz wireguard-openbsd-1fb015a8af3a7e9b85db2510147a155826ef04d9.zip | |
Mechanically replace isc_boolean_t with int.
OK deraadt
Diffstat (limited to 'usr.bin/dig/lib/isc/symtab.c')
| -rw-r--r-- | usr.bin/dig/lib/isc/symtab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/dig/lib/isc/symtab.c b/usr.bin/dig/lib/isc/symtab.c index 948b52a3738..06551f69dbe 100644 --- a/usr.bin/dig/lib/isc/symtab.c +++ b/usr.bin/dig/lib/isc/symtab.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: symtab.c,v 1.5 2020/02/25 16:54:24 deraadt Exp $ */ +/* $Id: symtab.c,v 1.6 2020/09/14 08:40:44 florian Exp $ */ /*! \file */ @@ -41,14 +41,14 @@ struct isc_symtab { eltlist_t * table; isc_symtabaction_t undefine_action; void * undefine_arg; - isc_boolean_t case_sensitive; + int case_sensitive; }; isc_result_t isc_symtab_create(unsigned int size, isc_symtabaction_t undefine_action, void *undefine_arg, - isc_boolean_t case_sensitive, + int case_sensitive, isc_symtab_t **symtabp) { isc_symtab_t *symtab; @@ -104,7 +104,7 @@ isc_symtab_destroy(isc_symtab_t **symtabp) { } static inline unsigned int -hash(const char *key, isc_boolean_t case_sensitive) { +hash(const char *key, int case_sensitive) { const char *s; unsigned int h = 0; int c; |
