Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
240e4387
Commit
240e4387
authored
Nov 29, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Make strict prototypes the default.
parent
c14de4c8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
13 deletions
+6
-13
mscoree.idl
include/mscoree.idl
+1
-1
rpcndr.h
include/rpcndr.h
+1
-1
vfw.h
include/vfw.h
+1
-1
wincrypt.h
include/wincrypt.h
+1
-1
windef.h
include/windef.h
+1
-2
glu.h
include/wine/glu.h
+1
-1
windef16.h
include/wine/windef16.h
+0
-6
No files found.
include/mscoree.idl
View file @
240e4387
...
...
@@ -27,7 +27,7 @@ cpp_quote("HRESULT WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*);")
cpp_quote
(
"HRESULT WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);"
)
cpp_quote
(
"HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);"
)
cpp_quote
(
"HRESULT WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);"
)
cpp_quote
(
"#if
def WINE
_STRICT_PROTOTYPES"
)
cpp_quote
(
"#if
ndef WINE_NO
_STRICT_PROTOTYPES"
)
cpp_quote
(
"typedef HRESULT (__stdcall *FLockClrVersionCallback)(void);"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"typedef HRESULT (__stdcall *FLockClrVersionCallback)();"
)
...
...
include/rpcndr.h
View file @
240e4387
...
...
@@ -356,7 +356,7 @@ typedef struct _MIDL_SYNTAX_INFO
typedef
void
(
__RPC_API
*
STUB_THUNK
)(
PMIDL_STUB_MESSAGE
);
#if
def WINE
_STRICT_PROTOTYPES
#if
ndef WINE_NO
_STRICT_PROTOTYPES
typedef
LONG
(
__RPC_API
*
SERVER_ROUTINE
)(
void
);
#else
typedef
LONG
(
__RPC_API
*
SERVER_ROUTINE
)();
...
...
include/vfw.h
View file @
240e4387
...
...
@@ -499,7 +499,7 @@ BOOL VFWAPI ICInstall(DWORD fccType, DWORD fccHandler, LPARAM lParam, LPSTR
BOOL
VFWAPI
ICRemove
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wFlags
);
LRESULT
VFWAPI
ICGetInfo
(
HIC
hic
,
ICINFO
*
picinfo
,
DWORD
cb
);
HIC
VFWAPI
ICOpen
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
);
#if
def WINE
_STRICT_PROTOTYPES
#if
ndef WINE_NO
_STRICT_PROTOTYPES
HIC
VFWAPI
ICOpenFunction
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
,
DRIVERPROC
lpfnHandler
);
#else
HIC
VFWAPI
ICOpenFunction
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
,
FARPROC
lpfnHandler
);
...
...
include/wincrypt.h
View file @
240e4387
...
...
@@ -793,7 +793,7 @@ typedef struct _CRYPT_SMIME_CAPABILITIES {
typedef
struct
_VTableProvStruc
{
DWORD
Version
;
#if
def WINE
_STRICT_PROTOTYPES
#if
ndef WINE_NO
_STRICT_PROTOTYPES
BOOL
(
WINAPI
*
FuncVerifyImage
)(
LPCSTR
,
BYTE
*
);
void
(
WINAPI
*
FuncReturnhWnd
)(
HWND
*
);
#else
...
...
include/windef.h
View file @
240e4387
...
...
@@ -248,7 +248,6 @@ typedef unsigned int DWORD, *PDWORD, *LPDWORD;
#ifdef __WINESRC__
#define WINE_NO_UNICODE_MACROS 1
#define WINE_STRICT_PROTOTYPES 1
#endif
#ifdef WINE_NO_UNICODE_MACROS
...
...
@@ -326,7 +325,7 @@ typedef HICON HCURSOR;
/* Callback function pointers types */
#if
def WINE
_STRICT_PROTOTYPES
#if
ndef WINE_NO
_STRICT_PROTOTYPES
typedef
INT_PTR
(
CALLBACK
*
FARPROC
)(
void
);
typedef
INT_PTR
(
CALLBACK
*
NEARPROC
)(
void
);
typedef
INT_PTR
(
CALLBACK
*
PROC
)(
void
);
...
...
include/wine/glu.h
View file @
240e4387
...
...
@@ -92,7 +92,7 @@ void APIENTRY gluLoadSamplingMatrices(GLUnurbs *nobj,const GLfloat modelMatrix[1
void
APIENTRY
gluNurbsProperty
(
GLUnurbs
*
nobj
,
GLenum
property
,
GLfloat
value
);
void
APIENTRY
gluGetNurbsProperty
(
GLUnurbs
*
nobj
,
GLenum
property
,
GLfloat
*
value
);
#if
def WINE
_STRICT_PROTOTYPES
#if
ndef WINE_NO
_STRICT_PROTOTYPES
void
APIENTRY
gluQuadricCallback
(
GLUquadric
*
qobj
,
GLenum
which
,
void
(
CALLBACK
*
fn
)(
void
));
void
APIENTRY
gluTessCallback
(
GLUtesselator
*
tess
,
GLenum
which
,
void
(
CALLBACK
*
fn
)(
void
));
void
APIENTRY
gluNurbsCallback
(
GLUnurbs
*
nobj
,
GLenum
which
,
void
(
CALLBACK
*
fn
)(
void
));
...
...
include/wine/windef16.h
View file @
240e4387
...
...
@@ -157,13 +157,7 @@ typedef BOOL16 (CALLBACK *PROPENUMPROC16)(HWND16,SEGPTR,HANDLE16);
typedef
VOID
(
CALLBACK
*
TIMERPROC16
)(
HWND16
,
UINT16
,
UINT16
,
DWORD
);
typedef
LRESULT
(
CALLBACK
*
WNDENUMPROC16
)(
HWND16
,
LPARAM
);
typedef
LRESULT
(
CALLBACK
*
WNDPROC16
)(
HWND16
,
UINT16
,
WPARAM16
,
LPARAM
);
#ifdef WINE_STRICT_PROTOTYPES
typedef
LRESULT
(
CALLBACK
*
FARPROC16
)(
void
);
typedef
INT16
(
CALLBACK
*
PROC16
)(
void
);
#else
typedef
LRESULT
(
CALLBACK
*
FARPROC16
)();
typedef
INT16
(
CALLBACK
*
PROC16
)();
#endif
#endif
/* __WINE_WINDEF16_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment