Author: dgorbachev
Date: Wed Sep 5 21:38:02 2012
New Revision: 57241
URL:
http://svn.reactos.org/svn/reactos?rev=57241&view=rev
Log:
[NTOSKRNL]
- Remove an unused variable.
[CHARMAP][CSRSRV][MOUNTMGR]
- Declare variables extern.
Modified:
trunk/reactos/base/applications/charmap/charmap.c
trunk/reactos/base/applications/charmap/precomp.h
trunk/reactos/drivers/filters/mountmgr/mntmgr.h
trunk/reactos/drivers/filters/mountmgr/mountmgr.c
trunk/reactos/ntoskrnl/cache/section/data.c
trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c
Modified: trunk/reactos/base/applications/charmap/charmap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/charmap.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/charmap/charmap.c [iso-8859-1] Wed Sep 5 21:38:02
2012
@@ -13,9 +13,11 @@
HINSTANCE hInstance;
HWND hAdvancedDlg;
+HWND hCharmapDlg;
HWND hStatusWnd;
HICON hSmIcon;
HICON hBgIcon;
+SETTINGS Settings;
/* Font-enumeration callback */
static
Modified: trunk/reactos/base/applications/charmap/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/charmap/precomp.h [iso-8859-1] Wed Sep 5 21:38:02
2012
@@ -57,8 +57,8 @@
BOOL IsAdvancedView;
} SETTINGS;
-SETTINGS Settings;
-HWND hCharmapDlg;
+extern SETTINGS Settings;
+extern HWND hCharmapDlg;
LRESULT CALLBACK LrgCellWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
Modified: trunk/reactos/drivers/filters/mountmgr/mntmgr.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filters/mountmgr/m…
==============================================================================
--- trunk/reactos/drivers/filters/mountmgr/mntmgr.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/filters/mountmgr/mntmgr.h [iso-8859-1] Wed Sep 5 21:38:02 2012
@@ -152,8 +152,6 @@
ULONG StackSize; // 0x2C
} UNIQUE_ID_WORK_ITEM, *PUNIQUE_ID_WORK_ITEM; // 0x30
-PDEVICE_OBJECT gdeviceObject;
-
/* Memory allocation helpers */
#define AllocatePool(Size) ExAllocatePoolWithTag(PagedPool, Size, 'AtnM')
#define FreePool(P) ExFreePoolWithTag(P, 'AtnM')
@@ -168,6 +166,7 @@
/* mountmgr.c */
extern UNICODE_STRING DosDevicesMount;
+extern PDEVICE_OBJECT gdeviceObject;
extern UNICODE_STRING ReparseIndex;
extern UNICODE_STRING DeviceFloppy;
extern UNICODE_STRING DeviceMount;
Modified: trunk/reactos/drivers/filters/mountmgr/mountmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filters/mountmgr/m…
==============================================================================
--- trunk/reactos/drivers/filters/mountmgr/mountmgr.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filters/mountmgr/mountmgr.c [iso-8859-1] Wed Sep 5 21:38:02
2012
@@ -34,6 +34,7 @@
/* FIXME */
GUID MountedDevicesGuid = {0x53F5630D, 0xB6BF, 0x11D0, {0x94, 0xF2, 0x00, 0xA0, 0xC9,
0x1E, 0xFB, 0x8B}};
+PDEVICE_OBJECT gdeviceObject;
KEVENT UnloadEvent;
LONG Unloading;
Modified: trunk/reactos/ntoskrnl/cache/section/data.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cache/section/dat…
==============================================================================
--- trunk/reactos/ntoskrnl/cache/section/data.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cache/section/data.c [iso-8859-1] Wed Sep 5 21:38:02 2012
@@ -91,8 +91,6 @@
/* GLOBALS *******************************************************************/
-ULONG_PTR MmSubsectionBase;
-
static const INFORMATION_CLASS_INFO ExSectionInfoClass[] =
{
ICI_SQ_SAME( sizeof(SECTION_BASIC_INFORMATION), sizeof(ULONG), ICIF_QUERY ), /*
SectionBasicInformation */
Modified: trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/csr…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] Wed Sep 5
21:38:02 2012
@@ -22,7 +22,7 @@
UNICODE_STRING CsrApiPortName;
volatile LONG CsrpStaticThreadCount;
volatile LONG CsrpDynamicThreadTotal;
-ULONG CsrMaxApiRequestThreads;
+extern ULONG CsrMaxApiRequestThreads;
/* FUNCTIONS *****************************************************************/