Thread (26 messages) flat view 26 messages, 6 authors, 2018-07-10
STALE2965d

Revision rfc of 2 in this series.

Revisions (2)
  1. rfc current
  2. rfc [diff vs current]

[RFC PATCH 1/6] connect.h: avoid forward declaration of an enum

From: Beat Bolli <hidden>
Date: 2018-07-08 14:44:21
Subsystem: the rest · Maintainer: Linus Torvalds

Include protocol.h to define enum protocol_version.

Signed-off-by: Beat Bolli <redacted>
---
 connect.h | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/connect.h b/connect.h
index 0e69c6709c..c86f862f2f 100644
--- a/connect.h
+++ b/connect.h
@@ -1,6 +1,8 @@
 #ifndef CONNECT_H
 #define CONNECT_H
 
+#include "protocol.h"   /* for enum protocol_version */
+
 #define CONNECT_VERBOSE       (1u << 0)
 #define CONNECT_DIAG_URL      (1u << 1)
 #define CONNECT_IPV4          (1u << 2)
-- 
2.15.0.rc1.299.gda03b47c3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help