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

Re: [Libguestfs] [PATCH] Fix prototype of commandv to match prototype of commandrv.



Richard W.M. Jones wrote:
> Small const-correctness patch/tidy-up.
...
> Subject: [PATCH] Fix prototype of commandv to match prototype of commandrv.
>
> ---
>  daemon/blockdev.c |    2 +-
>  daemon/command.c  |    2 +-
>  daemon/daemon.h   |    2 +-
>  daemon/guestfsd.c |    5 +++--
>  daemon/lvm.c      |    4 ++--

Always worthwhile, imho ;-)
doubly-const char **argv is particularly painful.
Shame we need the casts in C.


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