From: Tom Rini Date: Mon, 11 Nov 2019 09:17:43 -0500 Subject: [U-Boot] [PATCH v2 12/41] Move strtomhz() to vsprintf.h In-Reply-To: <20191108125120.v2.12.I0fc2c7829e8a29e8a0c7812e9be4b6c852161a09@changeid> References: <20191108195348.110648-1-sjg@chromium.org> <20191108125120.v2.12.I0fc2c7829e8a29e8a0c7812e9be4b6c852161a09@changeid> Message-ID: <20191111141743.GX19317@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 [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: