[Libguestfs] [PATCH 08/13] syntax-check: fix prohibit_getopt_without_use check

Richard W.M. Jones rjones at redhat.com
Tue Sep 23 15:40:39 UTC 2014


On Tue, Sep 23, 2014 at 05:20:34PM +0800, Hu Tao wrote:
> Signed-off-by: Hu Tao <hutao at cn.fujitsu.com>
> ---
>  p2v/gui.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/p2v/gui.c b/p2v/gui.c
> index 2df5017..dc6619a 100644
> --- a/p2v/gui.c
> +++ b/p2v/gui.c
> @@ -23,7 +23,6 @@
>  #include <string.h>
>  #include <inttypes.h>
>  #include <unistd.h>
> -#include <getopt.h>
>  #include <fcntl.h>
>  #include <errno.h>
>  #include <locale.h>
> -- 

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list