]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: Explicitly code void parameter list
authorJens Remus <jremus@linux.ibm.com>
Mon, 12 Jan 2026 15:09:23 +0000 (16:09 +0100)
committerJens Remus <jremus@linux.ibm.com>
Mon, 12 Jan 2026 15:09:23 +0000 (16:09 +0100)
commitb9517052ce5c1d87bfd7030bcbf90a98f63fddf6
tree9e476220168d2e2b8ae00f928d7ff355208ed9c4
parentb323045ab402a68e63252133d074e452e16edbad
gas: Explicitly code void parameter list

This fixes the following compile errors reported by Clang:

  CC       config/obj-elf-attr.o
../../gas/config/obj-elf-attr.c:64:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   64 | oav1_attr_info_init ()
      |                     ^
      |                      void
../../gas/config/obj-elf-attr.c:74:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   74 | oav1_attr_info_exit ()
      |                     ^
      |                      void

gas/
* config/obj-elf-attr.c (oav1_attr_info_init,
oav1_attr_info_exit): Explicitly code void parameter list.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
gas/config/obj-elf-attr.c