From 9dc79463a9a5601439126d124e99777ebe432874 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 4 Oct 2002 02:12:52 +0000 Subject: Fix K&R-isms found on SunOS 4.1.4 builds. --- variable.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index 308ad75..bb8d810 100644 --- a/variable.c +++ b/variable.c @@ -33,21 +33,25 @@ Boston, MA 02111-1307, USA. */ /* Hash table of all global variable definitions. */ static unsigned long -variable_hash_1 (void const *keyv) +variable_hash_1 (keyv) + const void *keyv; { struct variable const *key = (struct variable const *) keyv; return_STRING_N_HASH_1 (key->name, key->length); } static unsigned long -variable_hash_2 (void const *keyv) +variable_hash_2 (keyv) + const void *keyv; { struct variable const *key = (struct variable const *) keyv; return_STRING_N_HASH_2 (key->name, key->length); } static int -variable_hash_cmp (void const *xv, void const *yv) +variable_hash_cmp (xv, yv) + const void *xv; + const void *yv; { struct variable const *x = (struct variable const *) xv; struct variable const *y = (struct variable const *) yv; -- cgit v1.2.3