summaryrefslogtreecommitdiff
path: root/lib/tdb/common/hash.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-21 11:51:37 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-21 11:47:22 +0000
commit62c4af99428abb2d4ac1b18454d72e0c8cbb67e8 (patch)
tree8fcf54dce83778d5413a60799d9a540a6d4320fc /lib/tdb/common/hash.c
parent2c0ff5113cd9ef966f9ee3bcc723a6a28f1197da (diff)
downloadsamba-62c4af99428abb2d4ac1b18454d72e0c8cbb67e8.tar.gz
samba-62c4af99428abb2d4ac1b18454d72e0c8cbb67e8.tar.bz2
samba-62c4af99428abb2d4ac1b18454d72e0c8cbb67e8.zip
tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib/tdb/common/hash.c')
-rw-r--r--lib/tdb/common/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/hash.c b/lib/tdb/common/hash.c
index c07297ec19..2472ed1ace 100644
--- a/lib/tdb/common/hash.c
+++ b/lib/tdb/common/hash.c
@@ -374,7 +374,7 @@ static uint32_t hashlittle( const void *key, size_t length )
return c;
}
-unsigned int tdb_jenkins_hash(TDB_DATA *key)
+_PUBLIC_ unsigned int tdb_jenkins_hash(TDB_DATA *key)
{
return hashlittle(key->dptr, key->dsize);
}