forked from pool/elfutils
29 lines
951 B
Diff
29 lines
951 B
Diff
--- libebl/eblopenbackend.c-dist 2008-01-28 14:21:23.000000000 +0100
|
|
+++ libebl/eblopenbackend.c 2008-01-28 14:21:39.000000000 +0100
|
|
@@ -253,10 +253,7 @@ fill_defaults (Ebl *result)
|
|
|
|
/* Find an appropriate backend for the file associated with ELF. */
|
|
static Ebl *
|
|
-openbackend (elf, emulation, machine)
|
|
- Elf *elf;
|
|
- const char *emulation;
|
|
- GElf_Half machine;
|
|
+openbackend (Elf *elf, const char *emulation, GElf_Half machine)
|
|
{
|
|
Ebl *result;
|
|
size_t cnt;
|
|
--- lib/dynamicsizehash.c-dist 2008-01-28 14:25:32.000000000 +0100
|
|
+++ lib/dynamicsizehash.c 2008-01-28 14:25:52.000000000 +0100
|
|
@@ -65,10 +65,7 @@
|
|
|
|
|
|
static size_t
|
|
-lookup (htab, hval, val)
|
|
- NAME *htab;
|
|
- unsigned long int hval;
|
|
- TYPE val __attribute__ ((unused));
|
|
+lookup (NAME *htab, unsigned long int hval, TYPE val __attribute__((unused)))
|
|
{
|
|
/* First hash function: simply take the modul but prevent zero. */
|
|
size_t idx = 1 + hval % htab->size;
|