diff options
Diffstat (limited to 'lib/libaccess/permhash.h')
-rw-r--r-- | lib/libaccess/permhash.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/libaccess/permhash.h b/lib/libaccess/permhash.h index f76ab4c6..9446fb55 100644 --- a/lib/libaccess/permhash.h +++ b/lib/libaccess/permhash.h @@ -80,13 +80,7 @@ static PLHashAllocOps ACLPermAllocOps = { ACL_PermFreeEntry }; -static int -PR_StringFree(PLHashEntry *he, int i, void *arg) -{ - PERM_FREE(he->key); - return 0; -} - +#ifndef NO_ACL_HASH_FUNCS static PLHashNumber PR_HashCaseString(const void *key) { @@ -111,6 +105,7 @@ PR_CompareCaseStrings(const void *v1, const void *v2) return (strcasecmp(s1, s2) == 0); #endif } - +#endif /* NO_ACL_HASH_FUNCS */ + #endif /* _PERMHASH_H */ |