commit | fd9e5ef7b78b34a7bd3ffc786bdd785f4fa29beb | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Sun Jan 15 14:03:55 2017 +0100 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Thu Jan 19 08:46:19 2017 -0500 |
tree | 405f634893942169b18886092a327b5e6a97a0c4 | |
parent | dcd135cc06abd8cd662d2d7a896e368f09380dd2 [diff] |
libsepol: use constant keys in hashtab functions Even though "hashtab_key_t" is an alias for "char *", "const hashtab_key_t" is not an alias for "(const char) *" but means "(char *) const". Introduce const_hashtab_key_t to map "(const char) *" and use it in hashtab_search() and hashtab key comparison functions. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>