From aa71571e6fde1f6a3a39f8ea48bcd940bde6fd28 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 2 Sep 2017 10:02:16 +0200 Subject: 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. --- kern/hlist.h | 4 ++++ kern/slist.h | 4 ++++ 2 files changed, 8 insertions(+) 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 #include +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 #include +struct slist; + +struct slist_node; + /* * Static list initializer. */ -- cgit v1.2.3