aboutsummaryrefslogtreecommitdiff
path: root/gcc/hashtable.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-07-06 08:15:36 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2003-07-06 08:15:36 +0200
commit1d088deebefc04b8c99fe00e4df4e9c4ddacec2d (patch)
tree5608aad0f59e34928c3ebcd5b5bf7492d6a81e96 /gcc/hashtable.h
parent481668695af894b6738d2d64f3e005b2709399c5 (diff)
downloadgcc-1d088deebefc04b8c99fe00e4df4e9c4ddacec2d.zip
gcc-1d088deebefc04b8c99fe00e4df4e9c4ddacec2d.tar.gz
gcc-1d088deebefc04b8c99fe00e4df4e9c4ddacec2d.tar.bz2
gcc.c: Convert prototypes to ISO C90.
* gcc.c: Convert prototypes to ISO C90. * gcc.h: Likewise. * gcov-dump.c: Likewise. * gcov-iov.c: Likewise. * gcse.c: Likewise. * genattrtab.h: Likewise. * ggc.h: Likewise. * global.c: Likewise. * graph.c: Likewise. * graph.h: Likewise. * hosthooks.h: Likewise. * hooks.h: Likewise. * hooks.c: Likewise. * hashtable.h: Likewise. * hashtable.c: Likewise. * haifa-sched.c: Likewise. * integrate.h: Likewise. * integrate.c: Likewise. * input.h: Likewise. * ifcvt.c: Likewise. From-SVN: r68995
Diffstat (limited to 'gcc/hashtable.h')
-rw-r--r--gcc/hashtable.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/hashtable.h b/gcc/hashtable.h
index 11e9893..47ec1cc 100644
--- a/gcc/hashtable.h
+++ b/gcc/hashtable.h
@@ -1,5 +1,5 @@
/* Hash tables.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -46,7 +46,7 @@ struct ht
hashnode *entries;
/* Call back. */
- hashnode (*alloc_node) PARAMS ((hash_table *));
+ hashnode (*alloc_node) (hash_table *);
unsigned int nslots; /* Total slots in the entries array. */
unsigned int nelements; /* Number of live elements. */
@@ -60,25 +60,25 @@ struct ht
};
/* Initialize the hashtable with 2 ^ order entries. */
-extern hash_table *ht_create PARAMS ((unsigned int order));
+extern hash_table *ht_create (unsigned int order);
/* Frees all memory associated with a hash table. */
-extern void ht_destroy PARAMS ((hash_table *));
+extern void ht_destroy (hash_table *);
-extern hashnode ht_lookup PARAMS ((hash_table *, const unsigned char *,
- unsigned int, enum ht_lookup_option));
+extern hashnode ht_lookup (hash_table *, const unsigned char *,
+ unsigned int, enum ht_lookup_option);
/* For all nodes in TABLE, make a callback. The callback takes
TABLE->PFILE, the node, and a PTR, and the callback sequence stops
if the callback returns zero. */
-typedef int (*ht_cb) PARAMS ((struct cpp_reader *, hashnode, const void *));
-extern void ht_forall PARAMS ((hash_table *, ht_cb, const void *));
+typedef int (*ht_cb) (struct cpp_reader *, hashnode, const void *);
+extern void ht_forall (hash_table *, ht_cb, const void *);
/* Dump allocation statistics to stderr. */
-extern void ht_dump_statistics PARAMS ((hash_table *));
+extern void ht_dump_statistics (hash_table *);
/* Approximate positive square root of a host double. This is for
statistical reports, not code generation. */
-extern double approx_sqrt PARAMS ((double));
+extern double approx_sqrt (double);
#endif /* GCC_HASHTABLE_H */