[PATCH] clarify strim function description

Sascha Hauer s.hauer at pengutronix.de
Sun Aug 21 22:48:08 PDT 2016


On Thu, Aug 18, 2016 at 02:29:03PM +0300, Aleksey Kuleshov wrote:
> Signed-off-by: Aleksey Kuleshov <rndfax at yandex.ru>
> ---
>  lib/string.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/lib/string.c b/lib/string.c
> index a3e9fd8..1d491c9 100644
> --- a/lib/string.c
> +++ b/lib/string.c
> @@ -641,7 +641,7 @@ char *skip_spaces(const char *str)
>  }
>  
>  /**
> - * strim - Removes leading and trailing whitespace from @s.
> + * strim - Removes trailing whitespace from @s.
>   * @s: The string to be stripped.
>   *
>   * Note that the first trailing whitespace is replaced with a %NUL-terminator
> -- 
> 2.8.0.rc3
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list