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
0f36d124
Commit
0f36d124
authored
Jun 14, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings from -Wmissing-declarations.
parent
cdcb2036
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
27 additions
and
12 deletions
+27
-12
computername.c
dlls/kernel/computername.c
+2
-0
console.c
dlls/kernel/console.c
+1
-1
environ.c
dlls/kernel/environ.c
+2
-0
kernel_main.c
dlls/kernel/kernel_main.c
+0
-5
kernel_private.h
dlls/kernel/kernel_private.h
+13
-0
lcformat.c
dlls/kernel/lcformat.c
+3
-1
process.c
dlls/kernel/process.c
+1
-2
profile.c
dlls/kernel/profile.c
+1
-1
thread.c
dlls/kernel/thread.c
+2
-0
version.c
dlls/kernel/version.c
+1
-1
win87em.c
dlls/kernel/win87em.c
+1
-1
No files found.
dlls/kernel/computername.c
View file @
0f36d124
...
@@ -46,6 +46,8 @@
...
@@ -46,6 +46,8 @@
#include "excpt.h"
#include "excpt.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "kernel_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
computername
);
WINE_DEFAULT_DEBUG_CHANNEL
(
computername
);
/* Registry key and value names */
/* Registry key and value names */
...
...
dlls/kernel/console.c
View file @
0f36d124
...
@@ -1802,7 +1802,7 @@ BOOL WINAPI SetConsoleMode(HANDLE hcon, DWORD mode)
...
@@ -1802,7 +1802,7 @@ BOOL WINAPI SetConsoleMode(HANDLE hcon, DWORD mode)
* WriteConsoleOutput helper: hides server call semantics
* WriteConsoleOutput helper: hides server call semantics
* writes a string at a given pos with standard attribute
* writes a string at a given pos with standard attribute
*/
*/
int
CONSOLE_WriteChars
(
HANDLE
hCon
,
LPCWSTR
lpBuffer
,
int
nc
,
COORD
*
pos
)
static
int
CONSOLE_WriteChars
(
HANDLE
hCon
,
LPCWSTR
lpBuffer
,
int
nc
,
COORD
*
pos
)
{
{
int
written
=
-
1
;
int
written
=
-
1
;
...
...
dlls/kernel/environ.c
View file @
0f36d124
...
@@ -36,6 +36,8 @@
...
@@ -36,6 +36,8 @@
#include "wine/unicode.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "kernel_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
environ
);
WINE_DEFAULT_DEBUG_CHANNEL
(
environ
);
/* Notes:
/* Notes:
...
...
dlls/kernel/kernel_main.c
View file @
0f36d124
...
@@ -44,12 +44,7 @@
...
@@ -44,12 +44,7 @@
#include "kernel16_private.h"
#include "kernel16_private.h"
#include "console_private.h"
#include "console_private.h"
extern
void
LOCALE_InitRegistry
(
void
);
extern
void
COMPUTERNAME_Init
(
void
);
extern
int
__wine_set_signal_handler
(
unsigned
,
int
(
*
)(
unsigned
));
extern
int
__wine_set_signal_handler
(
unsigned
,
int
(
*
)(
unsigned
));
/* memory/environ.c */
extern
void
ENV_CopyStartupInformation
(
void
);
extern
int
main_create_flags
;
extern
int
main_create_flags
;
...
...
dlls/kernel/kernel_private.h
View file @
0f36d124
...
@@ -119,6 +119,19 @@ extern void load_winedos(void);
...
@@ -119,6 +119,19 @@ extern void load_winedos(void);
/* thread.c */
/* thread.c */
extern
TEB
*
THREAD_InitStack
(
TEB
*
teb
,
DWORD
stack_size
);
extern
TEB
*
THREAD_InitStack
(
TEB
*
teb
,
DWORD
stack_size
);
/* environ.c */
extern
void
ENV_CopyStartupInformation
(
void
);
/* computername.c */
extern
void
COMPUTERNAME_Init
(
void
);
/* locale.c */
extern
void
LOCALE_Init
(
void
);
extern
void
LOCALE_InitRegistry
(
void
);
/* oldconfig.c */
extern
void
convert_old_config
(
void
);
extern
struct
winedos_exports
extern
struct
winedos_exports
{
{
/* for global16.c */
/* for global16.c */
...
...
dlls/kernel/lcformat.c
View file @
0f36d124
...
@@ -36,6 +36,8 @@
...
@@ -36,6 +36,8 @@
#include "winreg.h"
#include "winreg.h"
#include "winternl.h"
#include "winternl.h"
#include "kernel_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
nls
);
WINE_DEFAULT_DEBUG_CHANNEL
(
nls
);
#define DATE_DATEVARSONLY 0x0100
/* only date stuff: yMdg */
#define DATE_DATEVARSONLY 0x0100
/* only date stuff: yMdg */
...
@@ -1988,7 +1990,7 @@ BOOL WINAPI EnumTimeFormatsW( TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, LCID Locale,
...
@@ -1988,7 +1990,7 @@ BOOL WINAPI EnumTimeFormatsW( TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, LCID Locale,
* TODO
* TODO
* The above note should be respected by GetCalendarInfoA.
* The above note should be respected by GetCalendarInfoA.
*/
*/
BOOL
WINAPI
NLS_EnumCalendarInfoAW
(
void
*
calinfoproc
,
LCID
locale
,
static
BOOL
NLS_EnumCalendarInfoAW
(
void
*
calinfoproc
,
LCID
locale
,
CALID
calendar
,
CALTYPE
caltype
,
BOOL
unicode
,
BOOL
ex
)
CALID
calendar
,
CALTYPE
caltype
,
BOOL
unicode
,
BOOL
ex
)
{
{
WCHAR
*
buf
,
*
opt
=
NULL
,
*
iter
=
NULL
;
WCHAR
*
buf
,
*
opt
=
NULL
,
*
iter
=
NULL
;
...
...
dlls/kernel/process.c
View file @
0f36d124
...
@@ -87,9 +87,8 @@ static const WCHAR pifW[] = {'.','p','i','f',0};
...
@@ -87,9 +87,8 @@ static const WCHAR pifW[] = {'.','p','i','f',0};
static
const
WCHAR
winevdmW
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
'v'
,
'd'
,
'm'
,
'.'
,
'e'
,
'x'
,
'e'
,
0
};
static
const
WCHAR
winevdmW
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
'v'
,
'd'
,
'm'
,
'.'
,
'e'
,
'x'
,
'e'
,
0
};
extern
void
SHELL_LoadRegistry
(
void
);
extern
void
SHELL_LoadRegistry
(
void
);
extern
void
convert_old_config
(
void
);
extern
void
VERSION_Init
(
const
WCHAR
*
appname
);
extern
void
VERSION_Init
(
const
WCHAR
*
appname
);
extern
void
LOCALE_Init
(
void
);
/***********************************************************************
/***********************************************************************
* contains_path
* contains_path
...
...
dlls/kernel/profile.c
View file @
0f36d124
...
@@ -568,7 +568,7 @@ static BOOL PROFILE_DeleteKey( PROFILESECTION **section,
...
@@ -568,7 +568,7 @@ static BOOL PROFILE_DeleteKey( PROFILESECTION **section,
*
*
* Delete all keys from a profile tree.
* Delete all keys from a profile tree.
*/
*/
void
PROFILE_DeleteAllKeys
(
LPCWSTR
section_name
)
static
void
PROFILE_DeleteAllKeys
(
LPCWSTR
section_name
)
{
{
PROFILESECTION
**
section
=
&
CurProfile
->
section
;
PROFILESECTION
**
section
=
&
CurProfile
->
section
;
while
(
*
section
)
while
(
*
section
)
...
...
dlls/kernel/thread.c
View file @
0f36d124
...
@@ -46,6 +46,8 @@
...
@@ -46,6 +46,8 @@
#include "wine/server.h"
#include "wine/server.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "kernel_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
thread
);
WINE_DEFAULT_DEBUG_CHANNEL
(
thread
);
WINE_DECLARE_DEBUG_CHANNEL
(
relay
);
WINE_DECLARE_DEBUG_CHANNEL
(
relay
);
...
...
dlls/kernel/version.c
View file @
0f36d124
...
@@ -75,7 +75,7 @@ static WORD parse_dos_version( HKEY hkey )
...
@@ -75,7 +75,7 @@ static WORD parse_dos_version( HKEY hkey )
/**********************************************************************
/**********************************************************************
* get_dos_version
* get_dos_version
*/
*/
WORD
get_dos_version
(
void
)
static
WORD
get_dos_version
(
void
)
{
{
OBJECT_ATTRIBUTES
attr
;
OBJECT_ATTRIBUTES
attr
;
UNICODE_STRING
nameW
;
UNICODE_STRING
nameW
;
...
...
dlls/kernel/win87em.c
View file @
0f36d124
...
@@ -82,7 +82,7 @@ static void WIN87_SetCtrlWord( CONTEXT86 *context )
...
@@ -82,7 +82,7 @@ static void WIN87_SetCtrlWord( CONTEXT86 *context )
CtrlWord_2
=
LOWORD
(
context
->
Eax
);
CtrlWord_2
=
LOWORD
(
context
->
Eax
);
}
}
void
WIN87_Init
(
CONTEXT86
*
context
)
static
void
WIN87_Init
(
CONTEXT86
*
context
)
{
{
if
(
Installed
)
{
if
(
Installed
)
{
#ifdef __i386__
#ifdef __i386__
...
...
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