Make sure that there is one space after for

This commit is contained in:
Gregory Nutt 2014-04-12 13:28:22 -06:00
parent 33d5d24964
commit c708eff608
28 changed files with 30 additions and 30 deletions

View File

@ -81,7 +81,7 @@ static void _up_assert(int errorcode)
if (g_irqtos || ((FAR struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -207,7 +207,7 @@ void os_start(void)
_up_puts("Test complete");
_up_putnl();
for(;;);
for (;;);
}
/************************************************************************

View File

@ -301,7 +301,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -317,7 +317,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -312,7 +312,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -327,7 +327,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -185,7 +185,7 @@ pid_t up_vfork(const struct vfork_s *context)
/* Make some feeble effort to perserve the stack contents. This is
* feeble because the stack surely contains invalid pointers and other
* content that will not work in the child context. However, if the
* user follows all of the caveats of vfor() usage, even this feeble
* user follows all of the caveats of vfork() usage, even this feeble
* effort is overkill.
*/

View File

@ -493,7 +493,7 @@ static int up_interrupt(int irq, void *context)
* until we have been looping for a long time.
*/
for(;;)
for (;;)
{
/* Get the current UART status and check for loop
* termination conditions

View File

@ -832,7 +832,7 @@ static int up_interrupt(int irq, void *context)
* until we have been looping for a long time.
*/
for(;;)
for (;;)
{
/* Get the current UART status and check for loop
* termination conditions

View File

@ -165,5 +165,5 @@ void __start(void)
/* Shouldn't get here */
for(;;);
for (;;);
}

View File

@ -181,6 +181,6 @@ void __start(void)
/* Shoulnd't get here */
for(;;);
for (;;);
}

View File

@ -257,5 +257,5 @@ void __start(void)
/* Shouldn't get here */
for(;;);
for (;;);
}

View File

@ -357,5 +357,5 @@ void __start(void)
/* Shouldn't get here */
for(;;);
for (;;);
}

View File

@ -174,5 +174,5 @@ void __start(void)
/* Shoulnd't get here */
for(;;);
for (;;);
}

View File

@ -191,5 +191,5 @@ void __start(void)
/* Shouldn't get here */
for(;;);
for (;;);
}

View File

@ -175,5 +175,5 @@ void __start(void)
/* Shoulnd't get here */
for(;;);
for (;;);
}

View File

@ -306,6 +306,6 @@ void __start(void)
/* Shoulnd't get here */
for(;;);
for (;;);
#endif
}

View File

@ -165,5 +165,5 @@ void __start(void)
/* Shoulnd't get here */
for(;;);
for (;;);
}

View File

@ -105,7 +105,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -280,7 +280,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -105,7 +105,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -190,7 +190,7 @@ pid_t up_vfork(const struct vfork_s *context)
/* Make some feeble effort to perserve the stack contents. This is
* feeble because the stack surely contains invalid pointers and other
* content that will not work in the child context. However, if the
* user follows all of the caveats of vfor() usage, even this feeble
* user follows all of the caveats of vfork() usage, even this feeble
* effort is overkill.
*/

View File

@ -92,7 +92,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -242,7 +242,7 @@ static void _up_assert(int errorcode)
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -294,12 +294,12 @@ static int init_graph_vga(int width, int height,int chain4)
outb(val, 0x3c2);
outw(0x0e11, 0x3d4); /* enable regs 0-7 */
for(a = 0; a < SZ(g_hor_regs); ++a)
for (a = 0; a < SZ(g_hor_regs); ++a)
{
outw((uint16_t)((w[a] << 8) + g_hor_regs[a]), 0x3d4);
}
for(a = 0; a < SZ(g_ver_regs); ++a)
for (a = 0; a < SZ(g_ver_regs); ++a)
{
outw((uint16_t)((h[a] << 8) + g_ver_regs[a]), 0x3d4);
}
@ -330,7 +330,7 @@ static int init_graph_vga(int width, int height,int chain4)
outb(0x33, 0x3c0);
outb(0x00, 0x3c0);
for(a = 0; a < 16; a++) /* ega pal */
for (a = 0; a < 16; a++) /* ega pal */
{
outb((uint8_t)a, 0x3c0);
outb((uint8_t)a, 0x3c0);

View File

@ -91,7 +91,7 @@ static void _up_assert(int errorcode) /* noreturn_function */
if (up_interrupt_context() || ((FAR struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -90,7 +90,7 @@ static void _up_assert(int errorcode) /* noreturn_function */
if (up_interrupt_context() || ((FAR struct tcb_s*)g_readytorun.head)->pid == 0)
{
(void)irqsave();
for(;;)
for (;;)
{
#ifdef CONFIG_ARCH_LEDS
board_led_on(LED_PANIC);

View File

@ -300,7 +300,7 @@ static uint8_t spi_transfer(uint8_t ch)
/* Send the byte, repeating if some error occurs */
for(;;)
for (;;)
{
outp(EZ80_SPI_TSR, ch);