[Spice-devel] [PATCH spice-server] Remove common/mem.h includes
Christophe Fergeau
cfergeau at redhat.com
Tue Nov 21 08:11:52 UTC 2017
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 at redhat.com>
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> 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 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/20171121/ee27c827/attachment.sig>
More information about the Spice-devel
mailing list