libpayload: Fix whitespace errors
Change-Id: Ibc36988745cbc7ede2a00da376b5dd295014ffb1 Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at> Reviewed-on: http://review.coreboot.org/3535 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.huber@secunet.com> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
This commit is contained in:
parent
714212a421
commit
3509ad366d
|
@ -550,7 +550,6 @@ unsigned long int strtoul(const char *ptr, char **endptr, int base)
|
||||||
* @param a A pointer to an array of characters that match the prefix
|
* @param a A pointer to an array of characters that match the prefix
|
||||||
* @return The number of matching characters
|
* @return The number of matching characters
|
||||||
*/
|
*/
|
||||||
|
|
||||||
size_t strspn(const char *s, const char *a)
|
size_t strspn(const char *s, const char *a)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
|
@ -575,7 +574,6 @@ size_t strspn(const char *s, const char *a)
|
||||||
* @param a A pointer to an array of characters that do not match the prefix
|
* @param a A pointer to an array of characters that do not match the prefix
|
||||||
* @return The number of not matching characters
|
* @return The number of not matching characters
|
||||||
*/
|
*/
|
||||||
|
|
||||||
size_t strcspn(const char *s, const char *a)
|
size_t strcspn(const char *s, const char *a)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
|
@ -602,7 +600,6 @@ size_t strcspn(const char *s, const char *a)
|
||||||
* @param ptr A pointer to a string pointer to keep state of the tokenizer
|
* @param ptr A pointer to a string pointer to keep state of the tokenizer
|
||||||
* @return Pointer to token
|
* @return Pointer to token
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char* strtok_r(char *str, const char *delim, char **ptr)
|
char* strtok_r(char *str, const char *delim, char **ptr)
|
||||||
{
|
{
|
||||||
/* start new tokenizing job or continue existing one? */
|
/* start new tokenizing job or continue existing one? */
|
||||||
|
@ -629,7 +626,6 @@ static char **strtok_global;
|
||||||
* @param delim A pointer to an array of characters that delimit the token
|
* @param delim A pointer to an array of characters that delimit the token
|
||||||
* @return Pointer to token
|
* @return Pointer to token
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char* strtok(char *str, const char *delim)
|
char* strtok(char *str, const char *delim)
|
||||||
{
|
{
|
||||||
return strtok_r(str, delim, strtok_global);
|
return strtok_r(str, delim, strtok_global);
|
||||||
|
|
Loading…
Reference in New Issue