Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jan 2026 18:10:04 +0000
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cdb05de1ecce - stable/15 - example.3: Show updated library macro usage
Message-ID:  <6956b87c.353c3.46197ff@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by ziaee:

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

commit cdb05de1eccecd9e7e2fbe2328e48418f1b9c943
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-12-17 17:27:39 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-01-01 18:08:51 +0000

    example.3: Show updated library macro usage
    
    The LIBRARY section has been deprecated by upstream.
    Show the updated usage of the Lb macro in SYNOPSIS.
    
    Fixes:  4c07abdbacf49 (mandoc: Vendor import of upstream at 2025-06-13)
    (cherry picked from commit 3527e7e9f7b2f1737706378b99af778921849e9d)
---
 share/examples/mdoc/example.3 | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/share/examples/mdoc/example.3 b/share/examples/mdoc/example.3
index a1e47b34064b..44fb1c76798c 100644
--- a/share/examples/mdoc/example.3
+++ b/share/examples/mdoc/example.3
@@ -5,16 +5,15 @@
 .\"
 .\" Note: The date here should be updated whenever a non-trivial
 .\" change is made to the manual page.
-.Dd July 30, 2004
+.Dd December 17, 2025
 .Dt EXAMPLE 3
 .Os
 .Sh NAME
 .Nm example
 .Nd example library function manual page
 .Sh LIBRARY
-.\" Note: list of available libraries is available in mdoc(7)
-.Lb libc
 .Sh SYNOPSIS
+.Lb libc
 .In example.h
 .Ft int
 .Fn example "char *ptr" "int mode"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6956b87c.353c3.46197ff>