git: c3ee0b675928 - stable/13 - sys/ck.h: Add an include guard
Kevin Bowling
kbowling at FreeBSD.org
Thu Apr 15 23:02:47 UTC 2021
The branch stable/13 has been updated by kbowling (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c3ee0b67592829e920964c2d5ca1adb611a08121
commit c3ee0b67592829e920964c2d5ca1adb611a08121
Author: Kevin Bowling <kbowling at FreeBSD.org>
AuthorDate: 2021-03-21 18:50:30 +0000
Commit: Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-04-15 23:01:49 +0000
sys/ck.h: Add an include guard
Approved by: cognet
MFC after: 1 week
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D29357
(cherry picked from commit 2595d78f3df2ca389aae259a291f93eb06ecad43)
---
sys/sys/ck.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys/sys/ck.h b/sys/sys/ck.h
index 3bfce70c8d2c..b04fe67b476d 100644
--- a/sys/sys/ck.h
+++ b/sys/sys/ck.h
@@ -1,6 +1,9 @@
/*
* $FreeBSD$
*/
+#ifndef _SYS_CK_H_
+#define _SYS_CK_H_
+
#ifdef _KERNEL
#include <ck_queue.h>
#include <ck_epoch.h>
@@ -11,3 +14,5 @@
#define CK_LIST_HEAD LIST_HEAD
#define CK_LIST_ENTRY LIST_ENTRY
#endif
+
+#endif /* !_SYS_CK_H_ */
More information about the dev-commits-src-branches
mailing list