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>
}
void
-oav1_attr_info_init ()
+oav1_attr_info_init (void)
{
/* Note: this "constructor" was added for symmetry with oav1_attr_info_exit.
recorded_attributes is a static variable which is automatically initialized
}
void
-oav1_attr_info_exit ()
+oav1_attr_info_exit (void)
{
oav1_attr_info_free (recorded_attributes);
}