Add a proper header for the lib/argv.c file

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@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/lib/powerpc/setup.c b/lib/powerpc/setup.c
index f6cacdc..20a1e37 100644
--- a/lib/powerpc/setup.c
+++ b/lib/powerpc/setup.c
@@ -14,14 +14,13 @@
 #include <libfdt/libfdt.h>
 #include <devicetree.h>
 #include <alloc.h>
+#include <argv.h>
 #include <asm/setup.h>
 #include <asm/page.h>
 #include <asm/hcall.h>
 
 extern unsigned long stacktop;
 extern void io_init(void);
-extern void setup_args_progname(const char *args);
-extern void setup_env(char *env, int size);
 
 char *initrd;
 u32 initrd_size;