2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>

* libmisc/bspcmdline/bspcmdline.h, libmisc/bspcmdline/bspcmdline_get.c,
	libmisc/bspcmdline/bspcmdline_getparam.c,
	libmisc/bspcmdline/bspcmdline_getparamraw.c,
	libmisc/bspcmdline/bspcmdline_getparamrhs.c: Add rtems_ as prefix to
	all routines.
This commit is contained in:
Joel Sherrill
2009-08-06 15:21:14 +00:00
parent 04a62dce21
commit 529760865d
6 changed files with 18 additions and 10 deletions

View File

@@ -1,3 +1,11 @@
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/bspcmdline/bspcmdline.h, libmisc/bspcmdline/bspcmdline_get.c,
libmisc/bspcmdline/bspcmdline_getparam.c,
libmisc/bspcmdline/bspcmdline_getparamraw.c,
libmisc/bspcmdline/bspcmdline_getparamrhs.c: Add rtems_ as prefix to
all routines.
2009-08-06 Chris Johns <chrisj@rtems.org> 2009-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: Fix group user logic. * libblock/src/bdbuf.c: Fix group user logic.

View File

@@ -46,7 +46,7 @@ extern "C" {
* *
* @return This method returns the pointer to the BSP Boot Command String. * @return This method returns the pointer to the BSP Boot Command String.
*/ */
const char *bsp_cmdline_get(void); const char *rtems_bsp_cmdline_get(void);
/** /**
* @brief Obtain COPY of the Entire Matching Argument * @brief Obtain COPY of the Entire Matching Argument
@@ -66,7 +66,7 @@ const char *bsp_cmdline_get(void);
* @return This method returns NULL if not found and * @return This method returns NULL if not found and
* @a value if found. * @a value if found.
*/ */
const char *bsp_cmdline_get_param( const char *rtems_bsp_cmdline_get_param(
const char *name, const char *name,
char *value, char *value,
size_t length size_t length
@@ -91,7 +91,7 @@ const char *bsp_cmdline_get_param(
* @return This method returns NULL if not found and * @return This method returns NULL if not found and
* @a value if found. * @a value if found.
*/ */
const char *bsp_cmdline_get_param_rhs( const char *rtems_bsp_cmdline_get_param_rhs(
const char *name, const char *name,
char *value, char *value,
size_t length size_t length
@@ -115,7 +115,7 @@ const char *bsp_cmdline_get_param_rhs(
* @note The pointer will be to the original BSP Command * @note The pointer will be to the original BSP Command
* Line string. Exercise caution when using this. * Line string. Exercise caution when using this.
*/ */
const char *bsp_cmdline_get_param_raw( const char *rtems_bsp_cmdline_get_param_raw(
const char *name const char *name
); );

View File

@@ -13,7 +13,7 @@
extern const char *bsp_boot_cmdline; extern const char *bsp_boot_cmdline;
const char *bsp_cmdline_get(void) const char *rtems_bsp_cmdline_get(void)
{ {
return bsp_boot_cmdline; return bsp_boot_cmdline;
} }

View File

@@ -35,7 +35,7 @@ static void copy_string(
} }
const char *bsp_cmdline_get_param( const char *rtems_bsp_cmdline_get_param(
const char *name, const char *name,
char *value, char *value,
size_t length size_t length
@@ -54,7 +54,7 @@ const char *bsp_cmdline_get_param(
value[0] = '\0'; value[0] = '\0';
p = bsp_cmdline_get_param_raw( name ); p = rtems_bsp_cmdline_get_param_raw( name );
if ( !p ) if ( !p )
return NULL; return NULL;

View File

@@ -15,7 +15,7 @@
extern const char *bsp_boot_cmdline; extern const char *bsp_boot_cmdline;
const char *bsp_cmdline_get_param_raw( const char *rtems_bsp_cmdline_get_param_raw(
const char *name const char *name
) )
{ {

View File

@@ -11,7 +11,7 @@
#include <rtems/bspcmdline.h> #include <rtems/bspcmdline.h>
const char *bsp_cmdline_get_param_rhs( const char *rtems_bsp_cmdline_get_param_rhs(
const char *name, const char *name,
char *value, char *value,
size_t length size_t length
@@ -21,7 +21,7 @@ const char *bsp_cmdline_get_param_rhs(
const char *rhs; const char *rhs;
char *d; char *d;
p = bsp_cmdline_get_param( name, value, length ); p = rtems_bsp_cmdline_get_param( name, value, length );
if ( !p ) if ( !p )
return NULL; return NULL;