[LSASRV] Deduplicate SAMPR_ULONG_ARRAY.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 9 Dec 2017 12:29:58 +0000 (13:29 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 9 Dec 2017 12:29:58 +0000 (13:29 +0100)
dll/win32/lsasrv/authpackage.c
dll/win32/lsasrv/lookup.c
dll/win32/lsasrv/lsasrv.h

index 7a3bf7f..3cc43f7 100644 (file)
@@ -106,12 +106,6 @@ LsaIFree_LSAPR_PRIVILEGE_SET(IN PLSAPR_PRIVILEGE_SET Ptr);
 typedef wchar_t *PSAMPR_SERVER_NAME;
 typedef void *SAMPR_HANDLE;
 
-typedef struct _SAMPR_ULONG_ARRAY
-{
-    unsigned long Count;
-    unsigned long *Element;
-} SAMPR_ULONG_ARRAY, *PSAMPR_ULONG_ARRAY;
-
 typedef struct _SAMPR_SID_INFORMATION
 {
     PRPC_SID SidPointer;
index 19d3c56..b0805eb 100644 (file)
@@ -22,13 +22,6 @@ typedef struct _SAMPR_RETURNED_USTRING_ARRAY
     PRPC_UNICODE_STRING Element;
 } SAMPR_RETURNED_USTRING_ARRAY, *PSAMPR_RETURNED_USTRING_ARRAY;
 
-typedef struct _SAMPR_ULONG_ARRAY
-{
-    unsigned long Count;
-    unsigned long *Element;
-} SAMPR_ULONG_ARRAY, *PSAMPR_ULONG_ARRAY;
-
-
 VOID
 NTAPI
 SamIFree_SAMPR_RETURNED_USTRING_ARRAY(PSAMPR_RETURNED_USTRING_ARRAY Ptr);
index 47c00d3..4bc0673 100644 (file)
@@ -79,6 +79,12 @@ typedef struct _LSAP_LOGON_CONTEXT
     HANDLE ConnectionHandle;
 } LSAP_LOGON_CONTEXT, *PLSAP_LOGON_CONTEXT;
 
+typedef struct _SAMPR_ULONG_ARRAY
+{
+    unsigned long Count;
+    unsigned long *Element;
+} SAMPR_ULONG_ARRAY, *PSAMPR_ULONG_ARRAY;
+
 extern SID_IDENTIFIER_AUTHORITY NullSidAuthority;
 extern SID_IDENTIFIER_AUTHORITY WorldSidAuthority;
 extern SID_IDENTIFIER_AUTHORITY LocalSidAuthority;