Re: [PATCH spice-server] Move some include from header to source

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

 



Acked-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>


On Mon, 2016-11-28 at 14:27 +0000, Frediano Ziglio wrote:
> Now that RedStatFile is private there is no need
> to include some headers in stat-file.h.
> 
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  server/stat-file.c | 2 ++
>  server/stat-file.h | 3 +--
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/server/stat-file.c b/server/stat-file.c
> index d1e25ce..57b6110 100644
> --- a/server/stat-file.c
> +++ b/server/stat-file.c
> @@ -25,7 +25,9 @@
>  #include <unistd.h>
>  #include <errno.h>
>  #include <fcntl.h>
> +#include <pthread.h>
>  #include <sys/mman.h>
> +#include <spice/stats.h>
>  #include <common/log.h>
>  #include <common/mem.h>
>  
> diff --git a/server/stat-file.h b/server/stat-file.h
> index 903b68b..0affb90 100644
> --- a/server/stat-file.h
> +++ b/server/stat-file.h
> @@ -18,8 +18,7 @@
>  #ifndef STAT_FILE_H_
>  #define STAT_FILE_H_
>  
> -#include <pthread.h>
> -#include <spice/stats.h>
> +#include <stdint.h>
>  
>  typedef uint32_t StatNodeRef;
>  #define INVALID_STAT_REF (~(StatNodeRef)0)
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]