[PATCH] login: make some locally used functions static

Sascha Hauer s.hauer at pengutronix.de
Sun Nov 1 23:06:50 PST 2015


On Sun, Nov 01, 2015 at 09:12:58AM +0300, Antony Pavlov wrote:
> On Fri, 30 Oct 2015 15:55:00 +0300
> Sergey Koshechkin <tritel59 at gmail.com> wrote:
> 
> > This patch continues cleanup password code from
> > 
> >   commit 40596b856f61c281fb34f804bf42550c099f26c3
> >   Author: Sascha Hauer <s.hauer at pengutronix.de>
> >   Date:   Thu Aug 27 15:58:50 2015 +0200
> > 
> >       login: cleanup password code
> 
> 
> ... and this patch fixes some 'no previous prototype' warnings:

Which by the way are only enabled on Mips. The other architectueres do
not enable -Wmissing-prototypes. I just tried setting this on Arm and
got many warnings. Maybe we should set this everywhere (in the toplevel
Makefile?). That would help fixing these earlier.

Sascha

-- 
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