summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-02 10:02:16 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-02 15:29:41 +0200
commitaa71571e6fde1f6a3a39f8ea48bcd940bde6fd28 (patch)
treee8c9040400d76cecfb838ac9cd84d6b18a14349a
parent1858793bd9a92aa1021fbc609557cf1c9c2c7270 (diff)
kern/{h,s}list: add type declarations to public headers
This change merely documents the types as part of the public interface of the respective modules.
-rw-r--r--kern/hlist.h4
-rw-r--r--kern/slist.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/kern/hlist.h b/kern/hlist.h
index eec05bb5..e105cb85 100644
--- a/kern/hlist.h
+++ b/kern/hlist.h
@@ -28,6 +28,10 @@
#include <kern/llsync.h>
#include <kern/macros.h>
+struct hlist;
+
+struct hlist_node;
+
/*
* Static list initializer.
*/
diff --git a/kern/slist.h b/kern/slist.h
index dd6a2d79..c0dcb087 100644
--- a/kern/slist.h
+++ b/kern/slist.h
@@ -28,6 +28,10 @@
#include <kern/macros.h>
#include <kern/slist_types.h>
+struct slist;
+
+struct slist_node;
+
/*
* Static list initializer.
*/