Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hotmail.com>2001-11-07 17:11:41 +0300
committerRobert Collins <rbtcollins@hotmail.com>2001-11-07 17:11:41 +0300
commit418c02db8faef0540377e40c24fee433f2f9cb12 (patch)
tree6215a70bba233e82f14dfd678cbab2b7a9516d20
parent4cecec6cde0a0c453733bcd7acdf6d71a744e6d7 (diff)
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.
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/winnt.h15
2 files changed, 15 insertions, 7 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 8f761219d..e2cf375ad 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -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
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 65f5d157d..70f15c33f 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -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;