diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/smb_share_modes.h | 8 | ||||
-rw-r--r-- | source3/libsmb/smb_share_modes.c | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/source3/include/smb_share_modes.h b/source3/include/smb_share_modes.h index 1e04ea496d..5ed43bda33 100644 --- a/source3/include/smb_share_modes.h +++ b/source3/include/smb_share_modes.h @@ -33,12 +33,8 @@ extern "C" { # endif #endif -#include "tdb.h" - -/* Database context handle. */ -struct smbdb_ctx { - TDB_CONTEXT *smb_tdb; -}; +/* Opaque database context handle. */ +struct smbdb_ctx; /* Share mode entry. */ /* diff --git a/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c index f78eaf8ca5..53f99d0f50 100644 --- a/source3/libsmb/smb_share_modes.c +++ b/source3/libsmb/smb_share_modes.c @@ -28,6 +28,11 @@ #include "includes.h" #include "smb_share_modes.h" +/* Database context handle. */ +struct smbdb_ctx { + TDB_CONTEXT *smb_tdb; +}; + /* Remove the paranoid malloc checker. */ #ifdef malloc #undef malloc |