summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2014-03-08 15:11:25 +0100
committerTorsten Jager <t.jager@gmx.de>2014-03-08 15:11:25 +0100
commit02a881e0a702cfc5e2062669b7643a3c5d255d20 (patch)
treeae158f43bd688ca576b5a83e6b94e9137982da78 /src
parent51f379ba834dbc5bca0007ef4f3793a7d650ae78 (diff)
downloadxine-lib-02a881e0a702cfc5e2062669b7643a3c5d255d20.tar.gz
xine-lib-02a881e0a702cfc5e2062669b7643a3c5d255d20.tar.bz2
Silence a lot of "attribute ignored" compiler warnings.
I hope this does not break something as it applies to x86 only anyway.
Diffstat (limited to 'src')
-rw-r--r--src/libw32dll/wine/pe_image.h12
-rw-r--r--src/libw32dll/wine/winbase.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/libw32dll/wine/pe_image.h b/src/libw32dll/wine/pe_image.h
index 9b4f322c6..4c85be1ed 100644
--- a/src/libw32dll/wine/pe_image.h
+++ b/src/libw32dll/wine/pe_image.h
@@ -57,16 +57,16 @@ typedef DWORD CALLBACK (*DLLENTRYPROC)(HMODULE,DWORD,LPVOID);
typedef struct {
WORD popl WINE_PACKED; /* 0x8f 0x05 */
DWORD addr_popped WINE_PACKED;/* ... */
- BYTE pushl1 WINE_PACKED; /* 0x68 */
+ BYTE pushl1; /* 0x68 */
DWORD newret WINE_PACKED; /* ... */
- BYTE pushl2 WINE_PACKED; /* 0x68 */
+ BYTE pushl2; /* 0x68 */
DWORD origfun WINE_PACKED; /* original function */
- BYTE ret1 WINE_PACKED; /* 0xc3 */
+ BYTE ret1; /* 0xc3 */
WORD addesp WINE_PACKED; /* 0x83 0xc4 */
- BYTE nrofargs WINE_PACKED; /* nr of arguments to add esp, */
- BYTE pushl3 WINE_PACKED; /* 0x68 */
+ BYTE nrofargs; /* nr of arguments to add esp, */
+ BYTE pushl3; /* 0x68 */
DWORD oldret WINE_PACKED; /* Filled out from popl above */
- BYTE ret2 WINE_PACKED; /* 0xc3 */
+ BYTE ret2; /* 0xc3 */
} ELF_STDCALL_STUB;
typedef struct {
diff --git a/src/libw32dll/wine/winbase.h b/src/libw32dll/wine/winbase.h
index 8746da891..5fe2b5708 100644
--- a/src/libw32dll/wine/winbase.h
+++ b/src/libw32dll/wine/winbase.h
@@ -541,7 +541,7 @@ typedef struct
UINT16 flags;
DWORD dwOptions WINE_PACKED;
DWORD dwFilter WINE_PACKED;
- CHAR achAllocModule[8] WINE_PACKED;
+ CHAR achAllocModule[8];
DWORD dwAllocBreak WINE_PACKED;
DWORD dwAllocCount WINE_PACKED;
} WINDEBUGINFO, *LPWINDEBUGINFO;