Re: [kvm-unit-tests PATCH] Add a proper header for the lib/argv.c file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux