Author: dgorbachev
Date: Sun Oct 18 20:52:56 2009
New Revision: 43572
URL:
http://svn.reactos.org/svn/reactos?rev=43572&view=rev
Log:
[3DTEXT, FREELDR, HAL, MINGW_COMMON, MMDRV, MSGINA, NTOSKRNL] Add extern.
Modified:
trunk/reactos/base/applications/screensavers/3dtext/3dtext.h
trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h
trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c
trunk/reactos/dll/win32/mmdrv/mmdrv.h
trunk/reactos/dll/win32/msgina/msgina.c
trunk/reactos/dll/win32/msgina/msgina.h
trunk/reactos/hal/halx86/mp/apic.c
trunk/reactos/lib/3rdparty/mingw/mingw_helpers.c
trunk/reactos/ntoskrnl/config/cmdata.c
trunk/reactos/ntoskrnl/config/cmdelay.c
trunk/reactos/ntoskrnl/config/cmkcbncb.c
trunk/reactos/ntoskrnl/config/cmsysini.c
trunk/reactos/ntoskrnl/include/internal/ex.h
trunk/reactos/ntoskrnl/kd/kdmain.c
trunk/reactos/ntoskrnl/ke/timerobj.c
trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c
Modified: trunk/reactos/base/applications/screensavers/3dtext/3dtext.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/3dtext/3dtext.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/screensavers/3dtext/3dtext.h [iso-8859-1] Sun Oct 18
20:52:56 2009
@@ -20,7 +20,7 @@
//////////////////////////////////////////////////////////////////
-TCHAR m_Text[MAX_PATH];
+extern TCHAR m_Text[MAX_PATH];
VOID LoadSettings(VOID);
VOID SaveSettings(VOID);
Modified: trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h [iso-8859-1]
(original)
+++ trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h [iso-8859-1] Sun Oct
18 20:52:56 2009
@@ -24,7 +24,7 @@
#include "mm.h"
#endif
-UCHAR XboxFont8x16[256 * 16];
+extern UCHAR XboxFont8x16[256 * 16];
VOID XboxMachInit(const char *CmdLine);
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/react…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c [iso-8859-1] Sun Oct 18 20:52:56
2009
@@ -25,15 +25,11 @@
extern ULONG PageDirectoryStart;
extern ULONG PageDirectoryEnd;
-ROS_LOADER_PARAMETER_BLOCK LoaderBlock;
-char reactos_kernel_cmdline[255]; // Command line passed to kernel
-LOADER_MODULE reactos_modules[64]; // Array to hold boot module info loaded for the
kernel
-char reactos_module_strings[64][256]; // Array to hold module names
-reactos_mem_data_t reactos_mem_data;
+extern CHAR szBootPath[255];
+extern CHAR SystemRoot[255];
+extern CHAR szHalName[255];
+
extern char reactos_arc_hardware_data[HW_MAX_ARC_HEAP_SIZE];
-char szBootPath[256];
-char szHalName[256];
-CHAR SystemRoot[255];
extern ULONG_PTR KernelBase;
extern ROS_KERNEL_ENTRY_POINT KernelEntryPoint;
Modified: trunk/reactos/dll/win32/mmdrv/mmdrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mmdrv/mmdrv.h?re…
==============================================================================
--- trunk/reactos/dll/win32/mmdrv/mmdrv.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mmdrv/mmdrv.h [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -330,8 +330,6 @@
PerformWaveIO(SessionInfo* session_info);
-CRITICAL_SECTION critical_section;
-
-
+extern CRITICAL_SECTION critical_section;
#endif
Modified: trunk/reactos/dll/win32/msgina/msgina.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.c?…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/msgina.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -30,7 +30,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
-extern HINSTANCE hDllInstance;
+HINSTANCE hDllInstance;
extern GINA_UI GinaGraphicalUI;
extern GINA_UI GinaTextUI;
Modified: trunk/reactos/dll/win32/msgina/msgina.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.h?…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/msgina.h [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -31,7 +31,7 @@
HBITMAP hBitmap;
} GINA_CONTEXT, *PGINA_CONTEXT;
-HINSTANCE hDllInstance;
+extern HINSTANCE hDllInstance;
typedef BOOL (*PFGINA_INITIALIZE)(PGINA_CONTEXT);
typedef BOOL (*PFGINA_DISPLAYSTATUSMESSAGE)(PGINA_CONTEXT, HDESK, DWORD, PWSTR, PWSTR);
Modified: trunk/reactos/hal/halx86/mp/apic.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/mp/apic.c?rev=4…
==============================================================================
--- trunk/reactos/hal/halx86/mp/apic.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/mp/apic.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -68,7 +68,7 @@
#include <poppack.h>
#endif
-CHAR *APstart, *APend;
+extern CHAR *APstart, *APend;
#define BIOS_AREA 0x0
#define COMMON_AREA 0x2000
Modified: trunk/reactos/lib/3rdparty/mingw/mingw_helpers.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/mingw/mingw_h…
==============================================================================
--- trunk/reactos/lib/3rdparty/mingw/mingw_helpers.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/mingw/mingw_helpers.c [iso-8859-1] Sun Oct 18 20:52:56
2009
@@ -13,7 +13,7 @@
#include <sect_attribs.h>
#include <locale.h>
-const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback;
+extern const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback;
void * __cdecl
_decode_pointer (void *codedptr)
Modified: trunk/reactos/ntoskrnl/config/cmdata.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmdata.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmdata.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmdata.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -16,7 +16,6 @@
ULONG DummyData;
ULONG CmNtGlobalFlag;
-ULONG CmNtCSDVersion;
WCHAR CmDefaultLanguageId[12];
ULONG CmDefaultLanguageIdLength = sizeof(CmDefaultLanguageId);
Modified: trunk/reactos/ntoskrnl/config/cmdelay.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmdelay.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmdelay.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmdelay.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -15,7 +15,6 @@
/* GLOBALS *******************************************************************/
WORK_QUEUE_ITEM CmpDelayDerefKCBWorkItem;
-LIST_ENTRY CmpFreeDelayItemsListHead;
ULONG CmpDelayedCloseSize = 2048;
ULONG CmpDelayedCloseElements;
Modified: trunk/reactos/ntoskrnl/config/cmkcbncb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmkcbncb.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmkcbncb.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmkcbncb.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -17,8 +17,6 @@
ULONG CmpHashTableSize = 2048;
PCM_KEY_HASH_TABLE_ENTRY CmpCacheTable;
PCM_NAME_HASH_TABLE_ENTRY CmpNameCacheTable;
-
-BOOLEAN CmpHoldLazyFlush;
/* FUNCTIONS *****************************************************************/
Modified: trunk/reactos/ntoskrnl/config/cmsysini.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmsysini.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmsysini.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmsysini.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -23,14 +23,13 @@
PEPROCESS CmpSystemProcess;
BOOLEAN HvShutdownComplete;
PVOID CmpRegistryLockCallerCaller, CmpRegistryLockCaller;
-BOOLEAN CmpFlushStarveWriters;
BOOLEAN CmpFlushOnLockRelease;
BOOLEAN CmpSpecialBootCondition;
BOOLEAN CmpNoWrite;
-BOOLEAN CmpForceForceFlush;
BOOLEAN CmpWasSetupBoot;
ULONG CmpTraceLevel = 0;
+extern LONG CmpFlushStarveWriters;
extern BOOLEAN CmFirstTime;
/* FUNCTIONS *****************************************************************/
Modified: trunk/reactos/ntoskrnl/include/internal/ex.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -18,9 +18,9 @@
extern LIST_ENTRY ExpFirmwareTableProviderListHead;
extern BOOLEAN ExpIsWinPEMode;
extern LIST_ENTRY ExpSystemResourcesList;
-ULONG ExpAnsiCodePageDataOffset, ExpOemCodePageDataOffset;
-ULONG ExpUnicodeCaseTableDataOffset;
-PVOID ExpNlsSectionPointer;
+extern ULONG ExpAnsiCodePageDataOffset, ExpOemCodePageDataOffset;
+extern ULONG ExpUnicodeCaseTableDataOffset;
+extern PVOID ExpNlsSectionPointer;
extern CHAR NtBuildLab[];
extern ULONG CmNtCSDVersion;
extern ULONG NtGlobalFlag;
Modified: trunk/reactos/ntoskrnl/kd/kdmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kd/kdmain.c?rev=4…
==============================================================================
--- trunk/reactos/ntoskrnl/kd/kdmain.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kd/kdmain.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -16,7 +16,6 @@
BOOLEAN KdDebuggerEnabled = FALSE;
BOOLEAN KdEnteredDebugger = FALSE;
BOOLEAN KdDebuggerNotPresent = TRUE;
-BOOLEAN KiEnableTimerWatchdog = FALSE;
BOOLEAN KdBreakAfterSymbolLoad = FALSE;
BOOLEAN KdpBreakPending = FALSE;
BOOLEAN KdPitchDebugger = TRUE;
Modified: trunk/reactos/ntoskrnl/ke/timerobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/timerobj.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/timerobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/timerobj.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -17,7 +17,7 @@
KTIMER_TABLE_ENTRY KiTimerTableListHead[TIMER_TABLE_SIZE];
LARGE_INTEGER KiTimeIncrementReciprocal;
UCHAR KiTimeIncrementShiftCount;
-BOOLEAN KiEnableTimerWatchdog;
+BOOLEAN KiEnableTimerWatchdog = FALSE;
/* PRIVATE FUNCTIONS *********************************************************/
Modified: trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c [iso-8859-1] Sun Oct 18 20:52:56 2009
@@ -20,8 +20,8 @@
MM_DRIVER_VERIFIER_DATA MmVerifierData;
LIST_ENTRY MiVerifierDriverAddedThunkListHead;
-KMUTANT MmSystemLoadLock;
ULONG MiActiveVerifierThunks;
+extern KMUTANT MmSystemLoadLock;
extern LIST_ENTRY PsLoadedModuleList;
/* PRIVATE FUNCTIONS *********************************************************/