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

Revision rfc of 2 in this series.

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

[PATCH 2/6] refs/refs-internal.h: avoid forward declaration of an enum

From: Beat Bolli <hidden>
Date: 2018-07-09 19:26:13
Subsystem: the rest · Maintainer: Linus Torvalds

Include iterator.h to define enum iterator_selection.

Signed-off-by: Beat Bolli <redacted>
---
 refs/refs-internal.h | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index dd834314bd..a78b5cb803 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -1,6 +1,8 @@
 #ifndef REFS_REFS_INTERNAL_H
 #define REFS_REFS_INTERNAL_H
 
+#include "iterator.h"   /* for enum iterator_selection */
+
 /*
  * Data structures and functions for the internal use of the refs
  * module. Code outside of the refs module should use only the public
-- 
2.18.0.203.gfac676dfb9
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help