summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/rpc_secdes.h2
-rw-r--r--source3/lib/secdesc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h
index f1d1b1a18f..b8c286fb0b 100644
--- a/source3/include/rpc_secdes.h
+++ b/source3/include/rpc_secdes.h
@@ -71,8 +71,6 @@
#define SEC_DESC_REVISION 0x1
#endif
-#define SEC_DESC_HEADER_SIZE (2 * sizeof(uint16) + 4 * sizeof(uint32))
-
/* A type to describe the mapping of generic access rights to object
specific access rights. */
diff --git a/source3/lib/secdesc.c b/source3/lib/secdesc.c
index 5791ab6153..4964fd5f45 100644
--- a/source3/lib/secdesc.c
+++ b/source3/lib/secdesc.c
@@ -153,6 +153,8 @@ struct security_descriptor *sec_desc_merge(TALLOC_CTX *ctx, struct security_desc
Creates a struct security_descriptor structure
********************************************************************/
+#define SEC_DESC_HEADER_SIZE (2 * sizeof(uint16) + 4 * sizeof(uint32))
+
struct security_descriptor *make_sec_desc(TALLOC_CTX *ctx,
enum security_descriptor_revision revision,
uint16 type,