diff options
author | Paul Smith <psmith@gnu.org> | 2002-10-04 02:12:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-10-04 02:12:52 +0000 |
commit | 9dc79463a9a5601439126d124e99777ebe432874 (patch) | |
tree | 2bad05769aae70786f1c5c846cb0443eb9a7aaed /variable.c | |
parent | 1d3dfeb74b47803559e0b5eaa886ebb1ad9e3e3f (diff) | |
download | gunmake-9dc79463a9a5601439126d124e99777ebe432874.tar.gz |
Fix K&R-isms found on SunOS 4.1.4 builds.
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; |