Sync with trunk revision 64099.
[reactos.git] / drivers / base / bootvid / i386 / bootvid.c
index 59f28c6..280c2c5 100644 (file)
@@ -5,7 +5,7 @@
 
 /* PRIVATE FUNCTIONS *********************************************************/
 
-BOOLEAN
+static BOOLEAN
 NTAPI
 VgaInterpretCmdStream(IN PUSHORT CmdStream)
 {
@@ -139,6 +139,7 @@ VgaInterpretCmdStream(IN PUSHORT CmdStream)
             switch (Minor)
             {
                 case 0:
+                {
                     /* The port is what is in the stream right now */
                     ShortPort = UlongToPtr(*CmdStream);
 
@@ -167,7 +168,10 @@ VgaInterpretCmdStream(IN PUSHORT CmdStream)
                         WRITE_PORT_USHORT(ShortPort, ShortValue);
                     }
                     break;
+                }
+
                 case 1:
+                {
                     /* The port is what is in the stream right now. Add the base too */
                     Port = *CmdStream + Base;
 
@@ -196,7 +200,10 @@ VgaInterpretCmdStream(IN PUSHORT CmdStream)
                         WRITE_PORT_UCHAR(Port, Value);
                     }
                     break;
+                }
+
                 case 2:
+                {
                     /* The port is what is in the stream right now. Add the base too */
                     Port = *CmdStream + Base;
 
@@ -208,6 +215,8 @@ VgaInterpretCmdStream(IN PUSHORT CmdStream)
                     /* Write the value */
                     WRITE_PORT_UCHAR(Port, Value);
                     break;
+                }
+
                 default:
                     /* Unknown command, fail */
                     return FALSE;
@@ -227,7 +236,7 @@ VgaInterpretCmdStream(IN PUSHORT CmdStream)
     return TRUE;
 }
 
-BOOLEAN
+static BOOLEAN
 NTAPI
 VgaIsPresent(VOID)
 {