This commit is contained in:
vscosta 2014-11-10 02:00:10 +00:00
parent 6a6b3db0c6
commit fa9ea6fd51

View File

@ -270,18 +270,18 @@ registerConsole(rlc_console c)
} }
static void /* static void */
closeConsoles(void) /* closeConsoles(void) */
{ int i; /* { int i; */
rlc_console *p; /* rlc_console *p; */
LOCK(); /* LOCK(); */
for(i=0, p=consoles; i<consoles_length; i++, p++) /* for(i=0, p=consoles; i<consoles_length; i++, p++) */
{ if ( *p ) /* { if ( *p ) */
rlc_close(*p); /* rlc_close(*p); */
} /* } */
UNLOCK(); /* UNLOCK(); */
} /* } */
/******************************* /*******************************