diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2006-04-08 21:05:27 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2006-04-08 21:05:27 +0000 |
commit | ef9fe339cb3783bbab1a5e432b32ffcc28d971ed (patch) | |
tree | f8cbb2516402f3439a7cb056d801ecf906eb5af4 /tables | |
parent | 30725226af97a0451657ab9c88fef06ea289c6b9 (diff) | |
download | apr-ef9fe339cb3783bbab1a5e432b32ffcc28d971ed.tar.gz |
jorton claims this is an exported function, although that's not necessary
to set the initial hash function. _NONSTD is required to stick with the
STDC calling convention for binary compatibility within apr and for
external apps.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@392605 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r-- | tables/apr_hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tables/apr_hash.c b/tables/apr_hash.c index 574d4161a..e852fead8 100644 --- a/tables/apr_hash.c +++ b/tables/apr_hash.c @@ -178,7 +178,8 @@ static void expand_array(apr_hash_t *ht) ht->max = new_max; } -unsigned int apr_hashfunc_default(const char *char_key, apr_ssize_t *klen) +APR_DECLARE_NONSTD(unsigned int) apr_hashfunc_default(const char *char_key, + apr_ssize_t *klen) { unsigned int hash = 0; const unsigned char *key = (const unsigned char *)char_key; |