[U-Boot] [PATCH v2 12/41] Move strtomhz() to vsprintf.h

Tom Rini trini at konsulko.com
Mon Nov 11 14:17:43 UTC 2019


On Fri, Nov 08, 2019 at 12:53:19PM -0700, Simon Glass wrote:
> At present this function sits in its own file but it does not really
> justify it. There are similar string functions in vsprintf.h, so move it
> there. Also add the missing function comment.
> 
> Use the vsprintf.h include file explicitly where needed.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
[snip]
> diff --git a/lib/strmhz.c b/lib/strmhz.c
> deleted file mode 100644
> index 66afe91ab9..0000000000
> --- a/lib/strmhz.c
> +++ /dev/null
> @@ -1,21 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * (C) Copyright 2002-2006
> - * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
> - */
[snip]
> diff --git a/lib/vsprintf.c b/lib/vsprintf.c
> index 425f2f53f7..a03a076a0a 100644
> --- a/lib/vsprintf.c
> +++ b/lib/vsprintf.c

Need to move the copyright to this file now too.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191111/6fb0c822/attachment.sig>


More information about the U-Boot mailing list