From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 02F703858D32 for ; Fri, 5 Jan 2024 05:09:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02F703858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 02F703858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704431349; cv=none; b=OUDPZHK54h4CtXXopFWtnl1IxzhobRUsfE1q+Nz4VuvODhsscWRM2DtLJCrjraN9x8RpyahjBR8vyHZmiipdn0CuTlIdm8kVsKjVe43xGUT93DhgfqW8gTWnYRU7LUwTSMTkWoMkfqujQLHuTIRFyhr0czMTi9EJdSf3FvIQQx0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704431349; c=relaxed/simple; bh=b+0EcvO36EGrmo/tv0iW99LSX6Nbl3Srx1y/pvoVaH0=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=b7jVPXIf8avDF+f8WXS6Lm9SvVpyp+mtUmE28kDpSnZNa7xS1VnjgzKJ4vT13lcnDZREe7fiLDFQt8zl7GG7rjZ9SWLhYdFumj+ApbeGu7CyIHDsiHV6/TB/lCba3peCjjkXvayzNb5ZsQ7yEotOHoOX3XRaAaUpSXckGF7lOpQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 437523430B0; Fri, 5 Jan 2024 05:09:07 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [PATCH v2] newlib: docs: print the function index Date: Fri, 5 Jan 2024 00:09:05 -0500 Message-ID: <20240105050905.29505-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240105050056.26457-1-vapier@gentoo.org> References: <20240105050056.26457-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The generated function documentation makes sure to include entries for every function in the function index via @findex, but then the manuals forget to actually print the index. --- v2 - forgot to update @menu entries for info pages newlib/libc/libc.texi | 5 +++++ newlib/libm/libm.texi | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/newlib/libc/libc.texi b/newlib/libc/libc.texi index c6aeab2278f1..a642f424bbad 100644 --- a/newlib/libc/libc.texi +++ b/newlib/libc/libc.texi @@ -155,6 +155,7 @@ into another language, under the above conditions for modified versions. * Overflow Protection:: * Document Index:: +* Function Index:: @end menu @end ifnottex @@ -410,6 +411,10 @@ usage as the ANSI C version from @file{stdarg.h}. @unnumbered Document Index @printindex cp +@node Function Index +@unnumbered Function Index +@printindex fn + @tex % I think something like @@colophon should be in texinfo. In the % meantime: diff --git a/newlib/libm/libm.texi b/newlib/libm/libm.texi index 943262d055ae..d322422c2cde 100644 --- a/newlib/libm/libm.texi +++ b/newlib/libm/libm.texi @@ -98,6 +98,7 @@ into another language, under the above conditions for modified versions. * Reentrancy:: The functions in libm are not reentrant by default. * Long Double Functions:: The long double function support of libm. * Document Index:: +* Function Index:: @end menu @include targetdep.tex @@ -121,10 +122,15 @@ This makes it thread safe, and therefore reentrant. Currently, the full set of long double math functions is only provided on platforms where long double equals double. For such platforms, the long double math functions are implemented as calls to the double versions. + @node Document Index @unnumbered Document Index @printindex cp +@node Function Index +@unnumbered Function Index +@printindex fn + @tex % I think something like @@colophon should be in texinfo. In the % meantime: -- 2.43.0