diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2003-07-22 16:24:53 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-07-22 16:24:53 +0000 |
commit | a2f7be91fc5f7347408fb24fe132194be4860bec (patch) | |
tree | f17d769828f9016a03c5e139b2664c5e6bed6bec /gcc/hashtable.c | |
parent | bef89e9e0929d4c17cfa23c0ab8c8cc3315a88c9 (diff) | |
download | gcc-a2f7be91fc5f7347408fb24fe132194be4860bec.zip gcc-a2f7be91fc5f7347408fb24fe132194be4860bec.tar.gz gcc-a2f7be91fc5f7347408fb24fe132194be4860bec.tar.bz2 |
hashtable.c (approx_sqrt): Make static.
* hashtable.c (approx_sqrt): Make static.
* hashtable.h: Don't prototype approx_sqrt.
* line-map.c (init_line_maps): Rename linemap_init.
(free_line_maps): Rename linemap_free.
(add_line_map): Rename linemap_add.
(lookup_line): Rename linemap_lookup.
(print_containing_files): Rename linemap_print_containing_files.
* linemap.h: Update to match.
* cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
linemap routines to use new names.
From-SVN: r69672
Diffstat (limited to 'gcc/hashtable.c')
-rw-r--r-- | gcc/hashtable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/hashtable.c b/gcc/hashtable.c index 4740f1d..5254882 100644 --- a/gcc/hashtable.c +++ b/gcc/hashtable.c @@ -32,6 +32,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. static unsigned int calc_hash (const unsigned char *, unsigned int); static void ht_expand (hash_table *); +static double approx_sqrt (double); /* Calculate the hash of the string STR of length LEN. */ @@ -275,7 +276,7 @@ ht_dump_statistics (hash_table *table) /* Return the approximate positive square root of a number N. This is for statistical reports, not code generation. */ -double +static double approx_sqrt (double x) { double s, d; |