[Spice-commits] common/quic.c common/quic.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Dec 11 12:24:28 UTC 2019
common/quic.c | 1 +
common/quic.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2561f6228355d4c9e6cef528ca567bfb2a2bd00e
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue Nov 26 16:41:56 2019 +0000
quic: Do not include quic_config.h in quic.h
quic_config is used only by the implementation so include it
only from the implementation file.
This remove dependency.
This make easier integration in other components.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/common/quic.c b/common/quic.c
index aea034c..f87b1ae 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -21,6 +21,7 @@
#include <config.h>
+#include "quic_config.h"
#include "quic.h"
#include "log.h"
diff --git a/common/quic.h b/common/quic.h
index eb3afd4..42fc3f8 100644
--- a/common/quic.h
+++ b/common/quic.h
@@ -20,7 +20,6 @@
#define H_SPICE_COMMON_QUIC
#include <spice/macros.h>
-#include "quic_config.h"
#include "macros.h"
SPICE_BEGIN_DECLS
More information about the Spice-commits
mailing list