Date: Wed, 24 Nov 2021 18:27:43 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 242d6201a6c8 - main - sys/alq.h: Kernel only file, mark as such Message-ID: <202111241827.1AOIRh0f081045@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=242d6201a6c840a68dc19b0df1157568751e1391 commit 242d6201a6c840a68dc19b0df1157568751e1391 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-11-24 17:39:10 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2021-11-24 18:26:45 +0000 sys/alq.h: Kernel only file, mark as such The alq interfaces are 100% in-kernel, so make this whole file #ifdef _KERNEL. There's no users of this in the tree outside of the kernel, nor does it define anything that could be useful at peeking into the state of alq. Sponsored by: Netflix --- sys/sys/alq.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/alq.h b/sys/sys/alq.h index 536fa2077357..fc8962c13cdb 100644 --- a/sys/sys/alq.h +++ b/sys/sys/alq.h @@ -37,6 +37,7 @@ #ifndef _SYS_ALQ_H_ #define _SYS_ALQ_H_ +#ifdef _KERNEL /* * Opaque type for the Async. Logging Queue */ @@ -143,4 +144,5 @@ alq_post(struct alq *alq, struct ale *ale) alq_post_flags(alq, ale, 0); } +#endif /* _KERNEL */ #endif /* _SYS_ALQ_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111241827.1AOIRh0f081045>