summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-10-04 02:12:52 +0000
committerPaul Smith <psmith@gnu.org>2002-10-04 02:12:52 +0000
commit9dc79463a9a5601439126d124e99777ebe432874 (patch)
tree2bad05769aae70786f1c5c846cb0443eb9a7aaed /variable.c
parent1d3dfeb74b47803559e0b5eaa886ebb1ad9e3e3f (diff)
downloadgunmake-9dc79463a9a5601439126d124e99777ebe432874.tar.gz
Fix K&R-isms found on SunOS 4.1.4 builds.
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c10
1 files changed, 7 insertions, 3 deletions
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;