diff options
author | Volker Lendecke <vl@samba.org> | 2021-01-03 21:53:49 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2021-01-08 20:31:33 +0000 |
commit | d82acf7685fe0b02013794263df61c479162dd92 (patch) | |
tree | 3107c0624906f172ebbba449be72d026c071318f /source3/modules | |
parent | d0eaa1432513575264d1b08574c8dcd51dae5e6a (diff) | |
download | samba-d82acf7685fe0b02013794263df61c479162dd92.tar.gz |
lib: give global_contexts.c its own header file
It's a bit shocking how many references we have to global
contexts. Make this a bit more obvious.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_aio_fork.c | 1 | ||||
-rw-r--r-- | source3/modules/vfs_delay_inject.c | 1 | ||||
-rw-r--r-- | source3/modules/vfs_preopen.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 772906fb771..87dcbdd6270 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -30,6 +30,7 @@ #include "lib/util/sys_rw_data.h" #include "lib/util/msghdr.h" #include "smbprofile.h" +#include "lib/global_contexts.h" #if !defined(HAVE_STRUCT_MSGHDR_MSG_CONTROL) && !defined(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS) # error Can not pass file descriptors diff --git a/source3/modules/vfs_delay_inject.c b/source3/modules/vfs_delay_inject.c index d70c0f0cb6a..7d65387af1d 100644 --- a/source3/modules/vfs_delay_inject.c +++ b/source3/modules/vfs_delay_inject.c @@ -21,6 +21,7 @@ #include "locking/share_mode_lock.h" #include "smbd/smbd.h" #include "lib/util/tevent_unix.h" +#include "lib/global_contexts.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_VFS diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index d27c4a82000..1549fda0b5e 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -24,6 +24,7 @@ #include "lib/util/sys_rw.h" #include "lib/util/sys_rw_data.h" #include "lib/util/smb_strtox.h" +#include "lib/global_contexts.h" struct preopen_state; |