binutils-gdb/bfd/doc
Mark Wielaard 14bc3b1b83 bfd: Add WARN_CFLAGS_FOR_BUILD to doc/chew.c build, fix warnings
doc/chew.c was compiled without any warning flags set. Adding the
common warnings for build showed various issues with non-static
functions missing prototypes and globals with common names (ptr and
idx) that shadowed local arguments or variables.

     * doc/local.mk (doc/chew.stamp): Add WARN_CFLAGS_FOR_BUILD.
     * Makefile.in: Regenerate.
     * doc/chew.c (idx): Rename to pos_idx.
     (ptr): Rename to buf_ptr.
     (xmalloc): Make static.
     (xrealloc): Likewise.
     (xstrdup): Likewise.
     (nextword): Likewise.
     (newentry): Likewise.
     (add_to_definition): Likewise.
     (add_intrinsic): Likewise.
     (compile): Likewise.
     (icopy_past_newline): Rename idx to pos_idx, ptr to buf_ptr.
     (get_stuff_in_command): Likewise.
     (skip_past_newline): Likewise.
     (perform): Likewise.
     (main): Likewise.
2024-11-12 22:39:33 +01:00
..
bfd.texi bfd: restore Threading menu entry in bfd.texi 2024-01-29 19:47:28 +01:00
bfdint.texi Remove bfdwin.c 2024-04-11 17:05:16 +09:30
bfdsumm.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ChangeLog-0415
ChangeLog-9103
chew.c bfd: Add WARN_CFLAGS_FOR_BUILD to doc/chew.c build, fix warnings 2024-11-12 22:39:33 +01:00
doc.str Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
fdl.texi
header.sed BFD whitespace fixes 2017-12-06 17:51:43 +10:30
local.mk bfd: Add WARN_CFLAGS_FOR_BUILD to doc/chew.c build, fix warnings 2024-11-12 22:39:33 +01:00
makefile.vms Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
proto.str PR31314, chew crashing on use of uninitialized value 2024-01-30 09:42:59 +10:30
webassembly.texi Revert "Simplify @node use in BFD documentation" 2023-08-31 07:27:01 -06:00