mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3-includes: only include acl prototypes when needed.
Guenther
This commit is contained in:
parent
c4331f6fcf
commit
321587e44a
@ -562,33 +562,11 @@ enum flush_reason_enum {
|
||||
/* NUM_FLUSH_REASONS must remain the last value in the enumeration. */
|
||||
NUM_FLUSH_REASONS};
|
||||
|
||||
#include "modules/nfs4_acls.h"
|
||||
|
||||
/***** prototypes *****/
|
||||
#ifndef NO_PROTO_H
|
||||
#include "proto.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_POSIX_ACLS)
|
||||
#include "modules/vfs_posixacl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_TRU64_ACLS)
|
||||
#include "modules/vfs_tru64acl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SOLARIS_ACLS) || defined(HAVE_UNIXWARE_ACLS)
|
||||
#include "modules/vfs_solarisacl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_HPUX_ACLS)
|
||||
#include "modules/vfs_hpuxacl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_IRIX_ACLS)
|
||||
#include "modules/vfs_irixacl.h"
|
||||
#endif
|
||||
|
||||
/* We need this after proto.h to reference GetTimeOfDay(). */
|
||||
#include "smbprofile.h"
|
||||
|
||||
|
@ -22,6 +22,26 @@
|
||||
#include "includes.h"
|
||||
#include "system/passwd.h"
|
||||
|
||||
#if defined(HAVE_POSIX_ACLS)
|
||||
#include "modules/vfs_posixacl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_TRU64_ACLS)
|
||||
#include "modules/vfs_tru64acl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SOLARIS_ACLS) || defined(HAVE_UNIXWARE_ACLS)
|
||||
#include "modules/vfs_solarisacl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_HPUX_ACLS)
|
||||
#include "modules/vfs_hpuxacl.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_IRIX_ACLS)
|
||||
#include "modules/vfs_irixacl.h"
|
||||
#endif
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_ACLS
|
||||
|
||||
|
@ -49,6 +49,8 @@
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "modules/vfs_hpuxacl.h"
|
||||
|
||||
|
||||
/*
|
||||
* including standard header <sys/aclv.h>
|
||||
|
@ -20,6 +20,8 @@
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "modules/vfs_irixacl.h"
|
||||
|
||||
|
||||
/* prototypes for private functions first - for clarity */
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "smbd/smbd.h"
|
||||
|
||||
#include "modules/vfs_posixacl.h"
|
||||
|
||||
/* prototypes for static functions first - for clarity */
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "smbd/smbd.h"
|
||||
|
||||
#include "modules/vfs_solarisacl.h"
|
||||
|
||||
/* typedef struct acl SOLARIS_ACE_T; */
|
||||
typedef aclent_t SOLARIS_ACE_T;
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "modules/vfs_tru64acl.h"
|
||||
|
||||
/* prototypes for private functions first - for clarity */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user