Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From e2b5669457f782c884d9c8ae69e7ede8c0365dfc Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> >Date: Mon, 8 Mar 2021 01:56:59 +0000 >Subject: [PATCH] hash.h: fix declarations: add types to empty parentheses Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hash.h b/hash.h index ce57a8b..e318f17 100644 --- a/hash.h +++ b/hash.h @@ -58,9 +58,9 @@ typedef char *HASHDATUM; /* #define won't do due to * */ #define HASHTABLE struct hashtable #endif -HASHTABLE *hashcreate(unsigned, unsigned (*) ()); +HASHTABLE *hashcreate(unsigned, unsigned (*) (void)); void hashdestroy(register HASHTABLE *); int hashstore(HASHTABLE *, register HASHDATUM, register HASHDATUM); HASHDATUM hashfetch(HASHTABLE *, register HASHDATUM); int hashdelete(HASHTABLE *, register HASHDATUM); -void hashwalk(HASHTABLE *, int (*) (), char *); +void hashwalk(HASHTABLE *, int (*) (char *, char *, char *), char *); -- 2.30.1 -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads) Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) -- debconf information excluded -- Bjarni I. Gislason