[Spice-devel] [PATCH spice-common] log: Remove useless includes

Christophe Fergeau cfergeau at redhat.com
Thu Feb 21 13:43:10 UTC 2019


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Thu, Feb 21, 2019 at 10:49:20AM +0000, Frediano Ziglio wrote:
> Now the function almost uses GLib function, no reason to include
> some system headers.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  common/log.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/common/log.c b/common/log.c
> index 054fd7f..b73da71 100644
> --- a/common/log.c
> +++ b/common/log.c
> @@ -21,12 +21,6 @@
>  
>  #include <glib.h>
>  #include <stdlib.h>
> -#include <stdio.h>
> -#include <sys/types.h>
> -#ifndef _MSC_VER
> -#include <unistd.h>
> -#endif
> -
>  #include <common/recorder.h>
>  
>  #include "log.h"
> -- 
> 2.20.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190221/ae240443/attachment.sig>


More information about the Spice-devel mailing list