summaryrefslogtreecommitdiff
path: root/file.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 /file.c
parent1d3dfeb74b47803559e0b5eaa886ebb1ad9e3e3f (diff)
downloadgunmake-9dc79463a9a5601439126d124e99777ebe432874.tar.gz
Fix K&R-isms found on SunOS 4.1.4 builds.
Diffstat (limited to 'file.c')
-rw-r--r--file.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/file.c b/file.c
index ecb83d8..ce1a0f9 100644
--- a/file.c
+++ b/file.c
@@ -34,19 +34,23 @@ Boston, MA 02111-1307, USA. */
/* Hash table of files the makefile knows how to make. */
static unsigned long
-file_hash_1 (void const *key)
+file_hash_1 (key)
+ const void *key;
{
return_ISTRING_HASH_1 (((struct file const *) key)->hname);
}
static unsigned long
-file_hash_2 (void const *key)
+file_hash_2 (key)
+ const void *key;
{
return_ISTRING_HASH_2 (((struct file const *) key)->hname);
}
static int
-file_hash_cmp (void const *x, void const *y)
+file_hash_cmp (x, y)
+ const void *x;
+ const void *y;
{
return_ISTRING_COMPARE (((struct file const *) x)->hname,
((struct file const *) y)->hname);