tdb: Fix invalid syntax in tdb.h
authorGünther Deschner <gd@samba.org>
Fri, 16 Jul 2021 15:29:40 +0000 (17:29 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 20 Jul 2021 10:57:35 +0000 (10:57 +0000)
commitaacd3ecb45ab04cb2f8a38a385a45bdca6d88cd2
treeb1a38970407d735ea4621f657e689cfb520978c8
parentb724c1e6a660eb6b9ceaf3c81d6dac0b0562206d
tdb: Fix invalid syntax in tdb.h

Defining _PUBLIC_ in the same way as in talloc.h resolves an issue with
a previous fix for Solaris Studio compiler 12.4 that prefixed all calls
in tdb.h with _PUBLIC_.  Thanks to Lukas Slebodnik
<lslebodn@redhat.com>.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14762

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tdb/include/tdb.h