git: 32c45723fa53 - main - atomic(9): Update manpage after constifying atomic loads

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Tue, 17 Dec 2024 14:48:54 UTC
The branch main has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=32c45723fa53d384e19ce52aec15972e73305a8c

commit 32c45723fa53d384e19ce52aec15972e73305a8c
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2024-12-16 17:58:50 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2024-12-17 14:48:22 +0000

    atomic(9): Update manpage after constifying atomic loads
    
    MFC after:      5 days
    Sponsored by:   The FreeBSD Foundation
---
 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 581aac9878c8..df24cd4a4d2b 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 November 19, 2024
+.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