Author: hbelusca
Date: Fri Nov 21 00:11:11 2014
New Revision: 65434

URL: http://svn.reactos.org/svn/reactos?rev=65434&view=rev
Log:
[NTVDM]: Static'ify some local vars & functions.

Modified:
    trunk/reactos/subsystems/ntvdm/vddsup.c

Modified: trunk/reactos/subsystems/ntvdm/vddsup.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/vddsup.c?rev=65434&r1=65433&r2=65434&view=diff
==============================================================================
--- trunk/reactos/subsystems/ntvdm/vddsup.c     [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/vddsup.c     [iso-8859-1] Fri Nov 21 
00:11:11 2014
@@ -29,7 +29,7 @@
 // TODO: Maybe use a linked list.
 // But the number of elements must be <= MAXUSHORT (MAXWORD)
 #define MAX_VDD_MODULES 0xFF + 1
-VDD_MODULE VDDList[MAX_VDD_MODULES] = {{NULL}};
+static VDD_MODULE VDDList[MAX_VDD_MODULES] = {{NULL}};
 
 // Valid handles of VDD DLLs start at 1 and finish at MAX_VDD_MODULES
 #define ENTRY_TO_HANDLE(Entry)  ((Entry)  + 1)
@@ -38,7 +38,7 @@
 
 /* PRIVATE FUNCTIONS 
**********************************************************/
 
-USHORT GetNextFreeVDDEntry(VOID)
+static USHORT GetNextFreeVDDEntry(VOID)
 {
     USHORT Entry = MAX_VDD_MODULES;
     for (Entry = 0; Entry < sizeof(VDDList)/sizeof(VDDList[0]); ++Entry)
@@ -48,7 +48,7 @@
     return Entry;
 }
 
-VOID WINAPI ThirdPartyVDDBop(LPWORD Stack)
+static VOID WINAPI ThirdPartyVDDBop(LPWORD Stack)
 {
     /* Get the Function Number and skip it */
     BYTE FuncNum = *(PBYTE)SEG_OFF_TO_PTR(getCS(), getIP());
@@ -231,7 +231,7 @@
     }
 }
 
-BOOL LoadInstallableVDD(VOID)
+static BOOL LoadInstallableVDD(VOID)
 {
 #define ERROR_MEMORYVDD L"Insufficient memory to load installable Virtual 
Device Drivers."
 #define ERROR_REGVDD    L"Virtual Device Driver format in the registry is 
invalid."


Reply via email to