From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 2BC603858D32 for ; Fri, 5 Jan 2024 05:01:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2BC603858D32 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 2BC603858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704430863; cv=none; b=HShUarGfh+QY+Gn4EJEj8B259kefGLxDNKjNvmSoQt0NCT31q5pn+5kb4VpD0pjraedOkEqG07zUYKOh3DAhia92a88i3OsDL7O+dYaLPFUAQXdemmUjshs0LozOku4ckB2snEljhZa06Vf7NeDMTM3EnbYPhz8/WIQkdiRy/d8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704430863; c=relaxed/simple; bh=RATkzNvHRTSgCr7TlRUpb5Mi6O1nq9145y1wEgg7Fyg=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=svmLEhOUtFiWyJWnYDbFeyh8kRM4ijPfjiaC4CilmWiL5IeArQDz3e+l5m0t6EbQXgwSTA7YTQMos+q9f7c7eGOikCSJ5cXBysf5i1XfmG7nTzYIqnmmcjLLYusfxofGccXxMbzrFd6M6kQL55StJs3NFEYL3EeOBF1Zu7R6FTg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 906453430AF; Fri, 5 Jan 2024 05:01:01 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [PATCH] newlib: docs: print the function index Date: Fri, 5 Jan 2024 00:00:56 -0500 Message-ID: <20240105050056.26457-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 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,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. --- newlib/libc/libc.texi | 4 ++++ newlib/libm/libm.texi | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/newlib/libc/libc.texi b/newlib/libc/libc.texi index c6aeab2278f1..ea96f86b6e3f 100644 --- a/newlib/libc/libc.texi +++ b/newlib/libc/libc.texi @@ -410,6 +410,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..26c393df8c6b 100644 --- a/newlib/libm/libm.texi +++ b/newlib/libm/libm.texi @@ -121,10 +121,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