OSDN Git Service

2001-11-08 Robert Collins <rbtcollins@hotmail.com>
authorrbcollins <rbcollins>
Wed, 7 Nov 2001 14:11:39 +0000 (14:11 +0000)
committerrbcollins <rbcollins>
Wed, 7 Nov 2001 14:11:39 +0000 (14:11 +0000)
        * include/winnt.h: Define *_SID_AUTHORITY appropriately. (nested
        structures.)
        GetCurrentFiber: Create a prototype before the implementation;
        GetFiberData: Ditto.

winsup/w32api/ChangeLog
winsup/w32api/include/winnt.h

index 8f76121..e2cf375 100644 (file)
@@ -1,3 +1,10 @@
+2001-11-08  Robert Collins  <rbtcollins@hotmail.com>
+
+       * include/winnt.h: Define *_SID_AUTHORITY appropriately. (nested
+       structures.)
+       GetCurrentFiber: Create a prototype before the implementation;
+       GetFiberData: Ditto.
+
 2001-11-04  Christopher Faylor  <cgf@redhat.com>
 
        * lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in
index 65f5d15..70f15c3 100644 (file)
@@ -267,12 +267,12 @@ typedef BYTE BOOLEAN,*PBOOLEAN;
 #define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3FF)
 #define EXCEPTION_NONCONTINUABLE       1
 #define EXCEPTION_MAXIMUM_PARAMETERS 15
-#define SECURITY_NULL_SID_AUTHORITY    {0,0,0,0,0,0}
-#define SECURITY_WORLD_SID_AUTHORITY   {0,0,0,0,0,1}
-#define SECURITY_LOCAL_SID_AUTHORITY   {0,0,0,0,0,2}
-#define SECURITY_CREATOR_SID_AUTHORITY {0,0,0,0,0,3}
-#define SECURITY_NON_UNIQUE_AUTHORITY  {0,0,0,0,0,4}
-#define SECURITY_NT_AUTHORITY  {0,0,0,0,0,5}
+#define SECURITY_NULL_SID_AUTHORITY    {{0,0,0,0,0,0}}
+#define SECURITY_WORLD_SID_AUTHORITY   {{0,0,0,0,0,1}}
+#define SECURITY_LOCAL_SID_AUTHORITY   {{0,0,0,0,0,2}}
+#define SECURITY_CREATOR_SID_AUTHORITY {{0,0,0,0,0,3}}
+#define SECURITY_NON_UNIQUE_AUTHORITY  {{0,0,0,0,0,4}}
+#define SECURITY_NT_AUTHORITY  {{0,0,0,0,0,5}}
 #define SECURITY_NULL_RID      0
 #define SECURITY_WORLD_RID     0
 #define SECURITY_LOCAL_RID     0
@@ -2524,6 +2524,7 @@ typedef struct _REPARSE_POINT_INFORMATION {
        WORD   ReparseDataLength;
        WORD   UnparsedNameLength;
 } REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION;
+PVOID GetCurrentFiber(void);
 extern __inline__ PVOID GetCurrentFiber(void)
 {
     void* ret;
@@ -2534,7 +2535,7 @@ extern __inline__ PVOID GetCurrentFiber(void)
                );
     return ret;
 }
-
+PVOID GetFiberData(void);
 extern __inline__ PVOID GetFiberData(void)
 {
     void* ret;