Commit 0f36d124 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fix warnings from -Wmissing-declarations.

parent cdcb2036
...@@ -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 */
......
...@@ -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;
......
...@@ -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:
......
...@@ -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;
......
...@@ -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 */
......
...@@ -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;
......
...@@ -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
......
...@@ -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)
......
...@@ -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);
......
...@@ -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;
......
...@@ -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__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment