git: ccffe71ad4d9 - main - atomic.9: Remove the stated dependency on types.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Jan 2023 13:05:10 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=ccffe71ad4d9ac01f6bb4efa625ffcaf9fae739f
commit ccffe71ad4d9ac01f6bb4efa625ffcaf9fae739f
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-01-16 13:04:01 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-01-16 13:04:27 +0000
atomic.9: Remove the stated dependency on types.h
All machine/atomic.h necessarily include sys/atomic_common.h, which
brings in types.h.
Reviewed by: imp, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D38040
---
share/man/man9/atomic.9 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9
index 784a776546de..7513d569c2f1 100644
--- a/share/man/man9/atomic.9
+++ b/share/man/man9/atomic.9
@@ -22,7 +22,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 6, 2021
+.Dd January 16, 2023
.Dt ATOMIC 9
.Os
.Sh NAME
@@ -40,7 +40,6 @@
.Nm atomic_thread_fence
.Nd atomic operations
.Sh SYNOPSIS
-.In sys/types.h
.In machine/atomic.h
.Ft void
.Fn atomic_add_[acq_|rel_]<type> "volatile <type> *p" "<type> v"