Date: Thu, 15 Apr 2021 23:03:57 GMT From: Kevin Bowling <kbowling@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: a1f4a2d6be36 - stable/12 - sys/ck.h: Add an include guard Message-ID: <202104152303.13FN3vvE038210@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kbowling (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a1f4a2d6be36392dbf477b8d287cc5145593cfb0 commit a1f4a2d6be36392dbf477b8d287cc5145593cfb0 Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2021-03-21 18:50:30 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2021-04-15 23:03:36 +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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104152303.13FN3vvE038210>