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
ebc2b778
Commit
ebc2b778
authored
Nov 14, 1998
by
Juergen Schmied
Committed by
Alexandre Julliard
Nov 14, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings, some only visible with -Wstrict-prototypes or -pedantic.
parent
431d1a0c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
9 deletions
+11
-9
color.h
include/color.h
+3
-3
imagehlp.h
include/imagehlp.h
+2
-0
palette.h
include/palette.h
+1
-1
global.c
memory/global.c
+1
-1
registry.c
misc/registry.c
+3
-3
defwnd.c
windows/defwnd.c
+1
-1
No files found.
include/color.h
View file @
ebc2b778
...
...
@@ -20,9 +20,9 @@ extern COLORREF COLOR_ToLogical(int pixel);
extern
int
COLOR_ToPhysical
(
DC
*
dc
,
COLORREF
color
);
extern
int
COLOR_SetMapping
(
PALETTEOBJ
*
pal
,
UINT32
uStart
,
UINT32
uNum
,
BOOL32
mapOnly
);
extern
BOOL32
COLOR_IsSolid
(
COLORREF
color
);
extern
Colormap
COLOR_GetColormap
();
extern
UINT16
COLOR_GetSystemPaletteSize
();
extern
UINT16
COLOR_GetSystemPaletteFlags
();
extern
Colormap
COLOR_GetColormap
(
void
);
extern
UINT16
COLOR_GetSystemPaletteSize
(
void
);
extern
UINT16
COLOR_GetSystemPaletteFlags
(
void
);
extern
const
PALETTEENTRY
*
COLOR_GetSystemPaletteTemplate
(
void
);
extern
BOOL32
COLOR_GetMonoPlane
(
int
*
);
...
...
include/imagehlp.h
View file @
ebc2b778
...
...
@@ -669,6 +669,7 @@ BOOL32 WINAPI ImageUnload32(
PLOADED_IMAGE32
LoadedImage
);
PAPI_VERSION32
WINAPI
ImagehlpApiVersion32
(
void
);
PAPI_VERSION32
WINAPI
ImagehlpApiVersionEx32
(
PAPI_VERSION32
AppVersion
...
...
@@ -743,6 +744,7 @@ BOOL32 WINAPI SymGetModuleInfo32(
PIMAGEHLP_MODULE32
ModuleInfo
);
DWORD
WINAPI
SymGetOptions32
(
void
);
BOOL32
WINAPI
SymGetSearchPath32
(
HANDLE32
hProcess
,
LPSTR
szSearchPath
,
DWORD
SearchPathLength
...
...
include/palette.h
View file @
ebc2b778
...
...
@@ -19,7 +19,7 @@ typedef struct
LOGPALETTE
logpalette
;
/* _MUST_ be the last field */
}
PALETTEOBJ
;
extern
HPALETTE16
PALETTE_Init
();
extern
HPALETTE16
PALETTE_Init
(
void
);
extern
int
PALETTE_GetObject
(
PALETTEOBJ
*
palette
,
int
count
,
LPSTR
buffer
);
extern
BOOL32
PALETTE_DeleteObject
(
HPALETTE16
hpalette
,
PALETTEOBJ
*
palette
);
extern
BOOL32
PALETTE_UnrealizeObject
(
HPALETTE16
hpalette
,
PALETTEOBJ
*
palette
);
...
...
memory/global.c
View file @
ebc2b778
...
...
@@ -75,7 +75,7 @@ static GLOBALARENA *GLOBAL_GetArena( WORD sel, WORD selcount )
}
void
debug_handles
()
void
debug_handles
(
void
)
{
int
printed
=
0
;
int
i
;
...
...
misc/registry.c
View file @
ebc2b778
...
...
@@ -40,7 +40,7 @@
#include "winreg.h"
#include "winversion.h"
static
void
REGISTRY_Init
();
static
void
REGISTRY_Init
(
void
);
/* FIXME: following defines should be configured global ... */
/* NOTE: do not append a /. linux' mkdir() WILL FAIL if you do that */
...
...
@@ -404,7 +404,7 @@ static void split_keypath( LPCWSTR wp, LPWSTR **wpv, int *wpc)
* REGISTRY_Init [Internal]
* Registry initialisation, allocates some default keys.
*/
static
void
REGISTRY_Init
()
{
static
void
REGISTRY_Init
(
void
)
{
HKEY
hkey
;
char
buf
[
200
];
...
...
@@ -1560,7 +1560,7 @@ __w31_dumptree( unsigned short idx,
/******************************************************************************
* _w31_loadreg [Internal]
*/
void
_w31_loadreg
()
{
void
_w31_loadreg
(
void
)
{
HFILE32
hf
;
struct
_w31_header
head
;
struct
_w31_tabent
*
tab
;
...
...
windows/defwnd.c
View file @
ebc2b778
...
...
@@ -374,7 +374,7 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT32 msg, WPARAM32 wParam,
for
(
len
=
1
;
len
<
64
;
len
++
)
if
((
hIcon
=
LoadIcon16
(
wndPtr
->
hInstance
,
MAKEINTRESOURCE16
(
len
))))
return
(
LRESULT
)
hIcon
;
return
(
LRESULT
)
LoadIcon16
(
NULL
,
IDI_APPLICATION16
);
return
(
LRESULT
)
LoadIcon16
(
0
,
IDI_APPLICATION16
);
}
break
;
...
...
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