The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=242d6201a6c840a68dc19b0df1157568751e1391

commit 242d6201a6c840a68dc19b0df1157568751e1391
Author:     Warner Losh <i...@freebsd.org>
AuthorDate: 2021-11-24 17:39:10 +0000
Commit:     Warner Losh <i...@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_ */

Reply via email to