Some older compilers warn about a function and argument name being equal.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
+2015-10-09 Mark Wielaard <mjw@redhat.com>
+
+ * elfshphehdr.c (check): Rename argument from check to statement.
+ (check_elf): Likewise.
+
2015-10-05 Josh Stone <jistone@redhat.com>
* Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
#include <stdbool.h>
void
-check (const char *msg, bool check)
+check (const char *msg, bool statement)
{
- if (! check)
+ if (! statement)
{
fprintf (stderr, "%s FAILED\n", msg);
exit (-1);
}
void
-check_elf (const char *msg, bool check)
+check_elf (const char *msg, bool statement)
{
- if (! check)
+ if (! statement)
{
fprintf (stderr, "%s: %s\n", msg, elf_errmsg (-1));
exit (-1);