tdb: fix studio compiler build
authorBjörn Jacke <bj@sernet.de>
Thu, 7 Mar 2019 11:50:29 +0000 (12:50 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Nov 2020 06:53:43 +0000 (06:53 +0000)
commit3c1013caf4b57c6af5a5d210df232c08a1227a17
treee8cf0449c535bf57dba2ff41ab0f9774494ac41e
parent268fcfdd5aa3adbcd6486090ee56aad6e6902a12
tdb: fix studio compiler build

Solaris Studio compiler 12.4 is pedantic about prototypes in headers having
the external visibility declarations too. It throws errors like:

redeclaration must have the same or more restrictive linker scoping: ...

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/tdb/common/lock.c
lib/tdb/include/tdb.h