git: 05d0bce0e808 - stable/13 - atomic(9): Update manpage after constifying atomic loads
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 12:27:23 UTC
The branch stable/13 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=05d0bce0e808c118b80334a4d6df071ef0b4999a
commit 05d0bce0e808c118b80334a4d6df071ef0b4999a
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2024-12-16 17:58:50 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-01-17 12:24:54 +0000
atomic(9): Update manpage after constifying atomic loads
MFC after: 5 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 32c45723fa53d384e19ce52aec15972e73305a8c)
---
share/man/man9/atomic.9 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9
index 98d392dd6032..0bbe58f45e0d 100644
--- a/share/man/man9/atomic.9
+++ b/share/man/man9/atomic.9
@@ -20,7 +20,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 16, 2023
+.Dd December 16, 2024
.Dt ATOMIC 9
.Os
.Sh NAME
@@ -60,7 +60,7 @@
.Ft void
.Fn atomic_interrupt_fence "void"
.Ft <type>
-.Fn atomic_load_[acq_]<type> "volatile <type> *p"
+.Fn atomic_load_[acq_]<type> "const volatile <type> *p"
.Ft <type>
.Fn atomic_readandclear_<type> "volatile <type> *p"
.Ft void