From 15211c8307b08e9bb4bd1cfb22489580a263373c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 19 Oct 2011 09:43:36 +0000 Subject: Remove white spaces. --- c/src/lib/libbsp/shared/console.c | 4 ++-- c/src/lib/libbsp/shared/console_control.c | 2 +- c/src/lib/libbsp/shared/console_private.h | 10 +++++----- c/src/lib/libbsp/shared/console_read.c | 2 +- c/src/lib/libbsp/shared/console_select.c | 12 ++++++------ c/src/lib/libbsp/shared/console_write.c | 2 +- c/src/lib/libbsp/shared/umon/tfs.h | 2 +- c/src/lib/libbsp/shared/umon/tfsDriver.c | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) (limited to 'c') diff --git a/c/src/lib/libbsp/shared/console.c b/c/src/lib/libbsp/shared/console.c index 20d7abcac3..75cb2612b2 100644 --- a/c/src/lib/libbsp/shared/console.c +++ b/c/src/lib/libbsp/shared/console.c @@ -50,7 +50,7 @@ static void console_initialize_pointers(void) Console_Port_Tbl = malloc( Console_Port_Count * sizeof( console_tbl * ) ); if (Console_Port_Tbl == NULL) rtems_panic("No memory for console pointers"); - + for (i=0 ; i < Console_Port_Count ; i++) Console_Port_Tbl[i] = &Console_Configuration_Ports[i]; } @@ -103,7 +103,7 @@ void console_register_devices( /* * Now add the new devices at the end. */ - + for (i=0 ; i < number_of_ports ; i++) { Console_Port_Tbl[old_number_of_ports + i] = &new_ports[i]; } diff --git a/c/src/lib/libbsp/shared/console_control.c b/c/src/lib/libbsp/shared/console_control.c index 77d4b57da9..151091e94c 100644 --- a/c/src/lib/libbsp/shared/console_control.c +++ b/c/src/lib/libbsp/shared/console_control.c @@ -8,7 +8,7 @@ /* - * This file is an extension of the generic console driver + * This file is an extension of the generic console driver * shell used by all console drivers using libchip. * * COPYRIGHT (c) 1989-2011. diff --git a/c/src/lib/libbsp/shared/console_private.h b/c/src/lib/libbsp/shared/console_private.h index f614d7e5e3..896e4f4632 100644 --- a/c/src/lib/libbsp/shared/console_private.h +++ b/c/src/lib/libbsp/shared/console_private.h @@ -55,19 +55,19 @@ extern void bsp_com_outch(char ch); * @return This method returns the character that * was retrieved from the console port. */ -extern int bsp_com_inch(void); +extern int bsp_com_inch(void); /** - * @brief + * @brief * - * This function + * This function * - * @return This method returns + * @return This method returns */ int vt_ioctl( unsigned int cmd, unsigned long arg); /** - * @brief console_register_devices + * @brief console_register_devices * * This function expands the console table to include previous * ports and the array of new ports specified. diff --git a/c/src/lib/libbsp/shared/console_read.c b/c/src/lib/libbsp/shared/console_read.c index 506ed1bf6c..3c7a7ea280 100644 --- a/c/src/lib/libbsp/shared/console_read.c +++ b/c/src/lib/libbsp/shared/console_read.c @@ -7,7 +7,7 @@ */ /* - * This file is an extension of the generic console driver + * This file is an extension of the generic console driver * shell used by all console drivers using libchip. * * COPYRIGHT (c) 1989-2011. diff --git a/c/src/lib/libbsp/shared/console_select.c b/c/src/lib/libbsp/shared/console_select.c index caab940c2d..77b03a3f58 100644 --- a/c/src/lib/libbsp/shared/console_select.c +++ b/c/src/lib/libbsp/shared/console_select.c @@ -3,11 +3,11 @@ * * @ingroup Console * - * @brief Generic libchip console select + * @brief Generic libchip console select */ /* - * This file contains a routine to select the + * This file contains a routine to select the * console based upon a number of criteria. * * COPYRIGHT (c) 2011. @@ -44,7 +44,7 @@ static bool bsp_Is_Available( rtems_device_minor_number minor ) */ if ((!cptr->deviceProbe || cptr->deviceProbe(minor)) && cptr->pDeviceFns->deviceProbe(minor)) { - return true; + return true; } return false; } @@ -71,7 +71,7 @@ static rtems_device_minor_number bsp_First_Available_Device( void ) } /* - * Error No devices were found. We will want to bail here. + * Error No devices were found. We will want to bail here. */ rtems_fatal_error_occurred(RTEMS_IO_ERROR); } @@ -80,9 +80,9 @@ void bsp_console_select(void) { /* - * Reset Console_Port_Minor and + * Reset Console_Port_Minor and * BSPPrintkPort here if desired. - * + * * This default version allows the bsp to set these * values at creation and will not touch them again * unless the selected port number is not available. diff --git a/c/src/lib/libbsp/shared/console_write.c b/c/src/lib/libbsp/shared/console_write.c index d51fd0cc70..a34d4dcb31 100644 --- a/c/src/lib/libbsp/shared/console_write.c +++ b/c/src/lib/libbsp/shared/console_write.c @@ -7,7 +7,7 @@ */ /* - * This file is an extension of the generic console driver + * This file is an extension of the generic console driver * shell used by all console drivers using libchip. * * COPYRIGHT (c) 1989-2011. diff --git a/c/src/lib/libbsp/shared/umon/tfs.h b/c/src/lib/libbsp/shared/umon/tfs.h index 44e0999db4..8ccc57ac70 100644 --- a/c/src/lib/libbsp/shared/umon/tfs.h +++ b/c/src/lib/libbsp/shared/umon/tfs.h @@ -1,5 +1,5 @@ /* - * tfs.h - Header file for TFS transactions, used by both application and + * tfs.h - Header file for TFS transactions, used by both application and * monnitor. * * Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/ diff --git a/c/src/lib/libbsp/shared/umon/tfsDriver.c b/c/src/lib/libbsp/shared/umon/tfsDriver.c index 78437f6383..baebd1d36e 100644 --- a/c/src/lib/libbsp/shared/umon/tfsDriver.c +++ b/c/src/lib/libbsp/shared/umon/tfsDriver.c @@ -168,7 +168,7 @@ int rtems_initialize_tfs_filesystem( if (rtems_filesystem_register( "tfs", rtems_tfs_mount_me ) < 0) return -1; - + status = mount( "umon", TFS_PATHNAME_PREFIX, "tfs", RTEMS_FILESYSTEM_READ_WRITE, NULL); if (status < 0) { -- cgit v1.2.3