[Spice-devel] [PATCH spice-gtk 13/15] Fix no-arg functions declared () to use (void)
Alon Levy
alevy at redhat.com
Tue Mar 13 07:55:08 PDT 2012
On Tue, Mar 13, 2012 at 01:40:11PM +0000, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
This one too.
> * common/quic.h, common/rop3.h, common/sw_canvas.h: s/()/(void)/
> ---
> common/quic.h | 2 +-
> common/rop3.h | 2 +-
> common/sw_canvas.h | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/common/quic.h b/common/quic.h
> index 74068f3..35683d2 100644
> --- a/common/quic.h
> +++ b/common/quic.h
> @@ -60,7 +60,7 @@ int quic_decode(QuicContext *quic, QuicImageType type, uint8_t *buf, int stride)
> QuicContext *quic_create(QuicUsrContext *usr);
> void quic_destroy(QuicContext *quic);
>
> -void quic_init();
> +void quic_init(void);
>
> #endif
>
> diff --git a/common/rop3.h b/common/rop3.h
> index 0211130..cbfa940 100644
> --- a/common/rop3.h
> +++ b/common/rop3.h
> @@ -29,6 +29,6 @@ void do_rop3_with_pattern(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, Sp
> void do_rop3_with_color(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos,
> uint32_t rgb);
>
> -void rop3_init();
> +void rop3_init(void);
> #endif
>
> diff --git a/common/sw_canvas.h b/common/sw_canvas.h
> index 99deac8..51e594c 100644
> --- a/common/sw_canvas.h
> +++ b/common/sw_canvas.h
> @@ -53,6 +53,6 @@ SpiceCanvas *canvas_create_for_data(int width, int height, uint32_t format, uint
> );
>
>
> -void sw_canvas_init();
> +void sw_canvas_init(void);
>
> #endif
> --
> 1.7.7.6
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list