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
bfdint.texi
bfdsumm.texi
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
fdl.texi
header.sed
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
proto.str
webassembly.texi