Jacek Caban : include: Avoid using attributes on elaborated type specifier.

Alexandre Julliard julliard at winehq.org
Tue Jan 8 17:46:48 CST 2019


Module: wine
Branch: master
Commit: 0b9090accab74291df749b31323aa5ef9463f7a0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0b9090accab74291df749b31323aa5ef9463f7a0

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Jan  8 20:19:05 2019 +0100

include: Avoid using attributes on elaborated type specifier.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/winnt.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/winnt.h b/include/winnt.h
index 742b47b..3a8295f 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -778,10 +778,9 @@ typedef struct _SINGLE_LIST_ENTRY {
 
 #ifdef _WIN64
 
-typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY *PSLIST_ENTRY;
 typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY {
-    PSLIST_ENTRY Next;
-} SLIST_ENTRY;
+    struct _SLIST_ENTRY *Next;
+} SLIST_ENTRY, *PSLIST_ENTRY;
 
 typedef union DECLSPEC_ALIGN(16) _SLIST_HEADER {
     struct {




More information about the wine-cvs mailing list