On Tue, Jun 27, 2017 at 06:44:07AM +0200, Thomas Huth wrote: > Instead of declaring the prototypes for these functions in various > C files, introduce a proper header for them. This change also > revealed that the prototypes of setup_args_progname() did not match > the implementation - the argument can be a "const char *", so change > the code in argv.c accordingly. > > Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx> > --- > lib/argv.c | 16 +++++++--------- > lib/argv.h | 10 ++++++++++ > lib/arm/setup.c | 3 +-- > lib/powerpc/setup.c | 3 +-- > lib/s390x/io.c | 2 +- > 5 files changed, 20 insertions(+), 14 deletions(-) > create mode 100644 lib/argv.h > Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>