Changeset 21700 for branches


Ignore:
Timestamp:
Oct 7, 2011, 12:57:25 AM (14 years ago)
Author:
dmik
Message:

Fix incorrect WINE_PACKED usage (compiler warning).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/include/win/pe_image.h

    r4124 r21700  
    3232extern HGLOBAL PE_LoadResource(struct _wine_modref *wm,HRSRC);
    3333extern HMODULE PE_LoadImage( HFILE hFile, OFSTRUCT *ofs, LPCSTR *modName );
    34 extern struct _wine_modref *PE_CreateModule( HMODULE hModule, OFSTRUCT *ofs, 
     34extern struct _wine_modref *PE_CreateModule( HMODULE hModule, OFSTRUCT *ofs,
    3535                                             DWORD flags, BOOL builtin );
    36 extern BOOL PE_CreateProcess( HFILE hFile, OFSTRUCT *ofs, LPCSTR cmd_line, LPCSTR env, 
     36extern BOOL PE_CreateProcess( HFILE hFile, OFSTRUCT *ofs, LPCSTR cmd_line, LPCSTR env,
    3737                              LPSECURITY_ATTRIBUTES psa, LPSECURITY_ATTRIBUTES tsa,
    3838                              BOOL inherit, LPSTARTUPINFOA startup,
     
    4848
    4949typedef struct {
    50         WORD    popl    WINE_PACKED;    /* 0x8f 0x05 */
    51         DWORD   addr_popped WINE_PACKED;/* ...  */
    52         BYTE    pushl1  WINE_PACKED;    /* 0x68 */
    53         DWORD   newret WINE_PACKED;     /* ...  */
    54         BYTE    pushl2  WINE_PACKED;    /* 0x68 */
    55         DWORD   origfun WINE_PACKED;    /* original function */
    56         BYTE    ret1    WINE_PACKED;    /* 0xc3 */
    57         WORD    addesp  WINE_PACKED;    /* 0x83 0xc4 */
    58         BYTE    nrofargs WINE_PACKED;   /* nr of arguments to add esp, */
    59         BYTE    pushl3  WINE_PACKED;    /* 0x68 */
    60         DWORD   oldret  WINE_PACKED;    /* Filled out from popl above  */
    61         BYTE    ret2    WINE_PACKED;    /* 0xc3 */
    62 } ELF_STDCALL_STUB;
     50        WORD    popl;       /* 0x8f 0x05 */
     51        DWORD   addr_popped;/* ...  */
     52        BYTE    pushl1;     /* 0x68 */
     53        DWORD   newret;     /* ...  */
     54        BYTE    pushl2;     /* 0x68 */
     55        DWORD   origfun;    /* original function */
     56        BYTE    ret1;       /* 0xc3 */
     57        WORD    addesp;     /* 0x83 0xc4 */
     58        BYTE    nrofargs;       /* nr of arguments to add esp, */
     59        BYTE    pushl3;     /* 0x68 */
     60        DWORD   oldret;     /* Filled out from popl above  */
     61        BYTE    ret2;       /* 0xc3 */
     62} WINE_PACKED ELF_STDCALL_STUB;
    6363
    6464typedef struct {
Note: See TracChangeset for help on using the changeset viewer.