- Don't use STATIC
Modified: trunk/reactos/hal/halx86/generic/kdbg.c
Modified: trunk/reactos/subsys/csrss/win32csr/conio.c
Modified: trunk/reactos/subsys/csrss/win32csr/guiconsole.c
Modified: trunk/reactos/subsys/csrss/win32csr/tuiconsole.c
Modified: trunk/reactos/subsys/system/usetup/partlist.c
_____
Modified: trunk/reactos/hal/halx86/generic/kdbg.c
--- trunk/reactos/hal/halx86/generic/kdbg.c 2005-11-22 02:30:18 UTC
(rev 19445)
+++ trunk/reactos/hal/halx86/generic/kdbg.c 2005-11-22 03:18:13 UTC
(rev 19446)
@@ -68,7 +68,7 @@
/* GLOBAL VARIABLES
*********************************************************/
-ULONG EXPORTED KdComPortInUse = 0;
+ULONG KdComPortInUse = 0;
/* STATIC VARIABLES
*********************************************************/
_____
Modified: trunk/reactos/subsys/csrss/win32csr/conio.c
--- trunk/reactos/subsys/csrss/win32csr/conio.c 2005-11-22 02:30:18 UTC
(rev 19445)
+++ trunk/reactos/subsys/csrss/win32csr/conio.c 2005-11-22 03:18:13 UTC
(rev 19446)
@@ -40,7 +40,7 @@
/* FUNCTIONS
*****************************************************************/
-STATIC NTSTATUS FASTCALL
+static NTSTATUS FASTCALL
ConioConsoleFromProcessData(PCSRSS_PROCESS_DATA ProcessData,
PCSRSS_CONSOLE *Console)
{
if (NULL == ProcessData->Console)
@@ -97,7 +97,7 @@
}
}
-STATIC NTSTATUS FASTCALL
+static NTSTATUS FASTCALL
CsrInitConsoleScreenBuffer(PCSRSS_CONSOLE Console,
PCSRSS_SCREEN_BUFFER Buffer)
{
@@ -128,7 +128,7 @@
return STATUS_SUCCESS;
}
-STATIC NTSTATUS STDCALL
+static NTSTATUS STDCALL
CsrInitConsole(PCSRSS_CONSOLE Console)
{
NTSTATUS Status;
@@ -376,7 +376,7 @@
return STATUS_SUCCESS;
}
-STATIC VOID FASTCALL
+static VOID FASTCALL
ConioNextLine(PCSRSS_SCREEN_BUFFER Buff, RECT *UpdateRect, UINT
*ScrolledLines)
{
/* slide the viewable screen */
@@ -405,7 +405,7 @@
UpdateRect->bottom = Buff->CurrentY;
}
-STATIC NTSTATUS FASTCALL
+static NTSTATUS FASTCALL
ConioWriteConsole(PCSRSS_CONSOLE Console, PCSRSS_SCREEN_BUFFER Buff,
CHAR *Buffer, DWORD Length, BOOL Attrib)
{
@@ -816,7 +816,7 @@
return TRUE;
}
-STATIC VOID FASTCALL
+static VOID FASTCALL
ConioCopyRegion(PCSRSS_SCREEN_BUFFER ScreenBuffer,
RECT *SrcRegion,
RECT *DstRegion)
@@ -864,7 +864,7 @@
}
}
-STATIC VOID FASTCALL
+static VOID FASTCALL
ConioFillRegion(PCSRSS_CONSOLE Console,
PCSRSS_SCREEN_BUFFER ScreenBuffer,
RECT *Region,
@@ -904,7 +904,7 @@
}
}
-STATIC VOID FASTCALL
+static VOID FASTCALL
ConioInputEventToAnsi(PCSRSS_CONSOLE Console, PINPUT_RECORD InputEvent)
{
if (InputEvent->EventType == KEY_EVENT)
@@ -1059,7 +1059,7 @@
/* Should call LoadKeyboardLayout */
}
-STATIC VOID FASTCALL
+static VOID FASTCALL
ConioProcessChar(PCSRSS_CONSOLE Console,
ConsoleInput *KeyEventRecord)
{
@@ -1244,7 +1244,7 @@
}
}
-STATIC DWORD FASTCALL
+static DWORD FASTCALL
ConioGetShiftState(PBYTE KeyState)
{
DWORD ssOut = 0;
@@ -1531,7 +1531,7 @@
return Request->Status = STATUS_SUCCESS;
}
-STATIC FASTCALL VOID
+static FASTCALL VOID
ConioComputeUpdateRect(PCSRSS_SCREEN_BUFFER Buff, RECT *UpdateRect,
COORD *Start, UINT Length)
{
if (Buff->MaxX <= Start->X + Length)
@@ -3044,7 +3044,7 @@
* ConsoleHwState has the correct size to be compatible
* with NT's, but values are not.
*/
-STATIC NTSTATUS FASTCALL
+static NTSTATUS FASTCALL
SetConsoleHardwareState (PCSRSS_CONSOLE Console, DWORD ConsoleHwState)
{
DPRINT1("Console Hardware State: %d\n", ConsoleHwState);
_____
Modified: trunk/reactos/subsys/csrss/win32csr/guiconsole.c
--- trunk/reactos/subsys/csrss/win32csr/guiconsole.c 2005-11-22
02:30:18 UTC (rev 19445)
+++ trunk/reactos/subsys/csrss/win32csr/guiconsole.c 2005-11-22
03:18:13 UTC (rev 19446)
@@ -948,7 +948,7 @@
Buffer->DefaultAttrib = 0x0f;
}
-STATIC BOOL STDCALL
+static BOOL STDCALL
GuiChangeTitle(PCSRSS_CONSOLE Console)
{
PWCHAR Buffer, Title;
@@ -974,7 +974,7 @@
return TRUE;
}
-STATIC BOOL STDCALL
+static BOOL STDCALL
GuiChangeIcon(PCSRSS_CONSOLE Console)
{
SendMessageW(Console->hWindow, WM_SETICON, ICON_BIG,
(LPARAM)Console->hWindowIcon);
_____
Modified: trunk/reactos/subsys/csrss/win32csr/tuiconsole.c
--- trunk/reactos/subsys/csrss/win32csr/tuiconsole.c 2005-11-22
02:30:18 UTC (rev 19445)
+++ trunk/reactos/subsys/csrss/win32csr/tuiconsole.c 2005-11-22
03:18:13 UTC (rev 19446)
@@ -185,13 +185,13 @@
return TRUE;
}
-STATIC BOOL STDCALL
+static BOOL STDCALL
TuiChangeTitle(PCSRSS_CONSOLE Console)
{
return TRUE;
}
-STATIC VOID STDCALL
+static VOID STDCALL
TuiCleanupConsole(PCSRSS_CONSOLE Console)
{
EnterCriticalSection(&ActiveConsoleLock);
_____
Modified: trunk/reactos/subsys/system/usetup/partlist.c
--- trunk/reactos/subsys/system/usetup/partlist.c 2005-11-22
02:30:18 UTC (rev 19445)
+++ trunk/reactos/subsys/system/usetup/partlist.c 2005-11-22
03:18:13 UTC (rev 19446)
@@ -522,7 +522,7 @@
}
#define ROOT_NAME
L"\\Registry\\Machine\\HARDWARE\\DESCRIPTION\\System\\MultifunctionAdapt
er"
-STATIC VOID
+static VOID
EnumerateBiosDiskEntries(PPARTLIST PartList)
{
RTL_QUERY_REGISTRY_TABLE QueryTable[3];