From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 9BEEF3858D20; Tue, 23 Jan 2024 03:05:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BEEF3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705979112; bh=ept99IdFb5JBP2ui/EmJ5/z8XOt00QieY+qZDqrJWu8=; h=From:To:Subject:Date:From; b=uY/KOrJAYNnwnczU89D/Pcwa8Q2whj5rwXfN2e2yNBYMJN2uT1FV7LaKx7ray+WLL CTDiudhfIfYj+GUNNBwCeeUM0jSU00irw/ZZjZb1+lLUZsy6UfL6XM7blO1Oih6pCP xWabi/rpRY1qk2vX62RCRXd2p5ypBGpiyOZKkNos= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin/main] newlib: docs: print the function index X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/main X-Git-Oldrev: 5a8c23a73abe731846b254284651cdf54cee1131 X-Git-Newrev: 613267aa6ede2f147ee03035ecc11716cbc5d457 Message-Id: <20240123030512.9BEEF3858D20@sourceware.org> Date: Tue, 23 Jan 2024 03:05:12 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D613267aa6ed= e2f147ee03035ecc11716cbc5d457 commit 613267aa6ede2f147ee03035ecc11716cbc5d457 Author: Mike Frysinger Date: Fri Jan 5 00:00:22 2024 -0500 newlib: docs: print the function index =20 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. Diff: --- 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 c6aeab227..a642f424b 100644 --- a/newlib/libc/libc.texi +++ b/newlib/libc/libc.texi @@ -155,6 +155,7 @@ into another language, under the above conditions for m= odified versions. * Overflow Protection:: =20 * Document Index:: +* Function Index:: @end menu @end ifnottex =20 @@ -410,6 +411,10 @@ usage as the ANSI C version from @file{stdarg.h}. @unnumbered Document Index @printindex cp =20 +@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 943262d05..d322422c2 100644 --- a/newlib/libm/libm.texi +++ b/newlib/libm/libm.texi @@ -98,6 +98,7 @@ into another language, under the above conditions for mod= ified 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 =20 @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 call= s to the double versions. + @node Document Index @unnumbered Document Index @printindex cp =20 +@node Function Index +@unnumbered Function Index +@printindex fn + @tex % I think something like @@colophon should be in texinfo. In the % meantime: