Re: [PATCH spice-server] Remove common/mem.h includes

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

 



On Mon, Nov 20, 2017 at 04:14:01PM +0000, Frediano Ziglio wrote:
> common/mem.h contains mainly memory allocation functions.
> As we decided to move to Glib calls directly avoid to include
> function declaration we should not use anymore.

Sure, 
Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

> 
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  server/dispatcher.c               | 1 -
>  server/red-channel-capabilities.c | 1 -
>  server/red-common.h               | 1 -
>  server/red-stream.h               | 1 -
>  server/tests/basic-event-loop.c   | 1 -
>  5 files changed, 5 deletions(-)
> 
> diff --git a/server/dispatcher.c b/server/dispatcher.c
> index 7e991403..301feffd 100644
> --- a/server/dispatcher.c
> +++ b/server/dispatcher.c
> @@ -26,7 +26,6 @@
>  #include <fcntl.h>
>  #include <poll.h>
>  
> -#include <common/mem.h>
>  #include <common/spice_common.h>
>  #include "dispatcher.h"
>  
> diff --git a/server/red-channel-capabilities.c b/server/red-channel-capabilities.c
> index 2113c6e9..5b766768 100644
> --- a/server/red-channel-capabilities.c
> +++ b/server/red-channel-capabilities.c
> @@ -19,7 +19,6 @@
>  #endif
>  
>  #include <string.h>
> -#include <common/mem.h>
>  #include <common/macros.h>
>  
>  #include "red-channel-capabilities.h"
> diff --git a/server/red-common.h b/server/red-common.h
> index b9ab4aa5..171a1877 100644
> --- a/server/red-common.h
> +++ b/server/red-common.h
> @@ -28,7 +28,6 @@
>  #include <common/log.h>
>  #include <common/lz_common.h>
>  #include <common/marshaller.h>
> -#include <common/mem.h>
>  #include <common/messages.h>
>  #include <common/ring.h>
>  #include <common/spice_common.h>
> diff --git a/server/red-stream.h b/server/red-stream.h
> index a71450c4..a8d855c2 100644
> --- a/server/red-stream.h
> +++ b/server/red-stream.h
> @@ -19,7 +19,6 @@
>  #define RED_STREAM_H_
>  
>  #include <openssl/ssl.h>
> -#include <common/mem.h>
>  
>  #include "spice.h"
>  #include "red-common.h"
> diff --git a/server/tests/basic-event-loop.c b/server/tests/basic-event-loop.c
> index 46cf3877..6fd8a293 100644
> --- a/server/tests/basic-event-loop.c
> +++ b/server/tests/basic-event-loop.c
> @@ -25,7 +25,6 @@
>  #include "red-common.h"
>  #include "spice/macros.h"
>  #include <common/ring.h>
> -#include <common/mem.h>
>  #include "basic-event-loop.h"
>  
>  int debug = 0;
> -- 
> 2.14.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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]