Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2021 18:56:02 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2595d78f3df2 - main - sys/ck.h: Add an include guard
Message-ID:  <202103211856.12LIu2bP016224@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=2595d78f3df2ca389aae259a291f93eb06ecad43

commit 2595d78f3df2ca389aae259a291f93eb06ecad43
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2021-03-21 18:50:30 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2021-03-21 18:55:52 +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
---
 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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103211856.12LIu2bP016224>