[Spice-devel] [spice-common 6/8] test-marshallers: Fix header guard

Christophe Fergeau cfergeau at redhat.com
Thu Mar 28 17:35:08 UTC 2019


test-marshallers.h is missing a #define _H_TEST_MARSHALLERS in order to
prevent multiple #include for the same header.

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
---
 tests/test-marshallers.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test-marshallers.h b/tests/test-marshallers.h
index 4eab90f..5b113b7 100644
--- a/tests/test-marshallers.h
+++ b/tests/test-marshallers.h
@@ -1,6 +1,7 @@
 #include <stdint.h>
 
 #ifndef _H_TEST_MARSHALLERS
+#define _H_TEST_MARSHALLERS
 
 typedef struct {
     uint32_t data_size;
-- 
2.21.0



More information about the Spice-devel mailing list