summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-30 19:23:16 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-30 19:23:16 +0000
commit87a9866249f8a78e608369c7b1f30a8b07f8e687 (patch)
treee44731ee130634d2645be6d9a6feda7384576183 /include
parent7035b2ab9789880dfe54b3d18299b944ef796df6 (diff)
downloadgcc-87a9866249f8a78e608369c7b1f30a8b07f8e687.tar.gz
* hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80092 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/hashtab.h4
-rw-r--r--include/splay-tree.h12
3 files changed, 12 insertions, 8 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 37c6cfdadf1..e415afaaf9b 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-30 Zack Weinberg <zack@codesourcery.com>
+
+ * hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
+
2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
* dyn-string.h: Update copyright date.
diff --git a/include/hashtab.h b/include/hashtab.h
index f7bd4ae69d3..1af7368d338 100644
--- a/include/hashtab.h
+++ b/include/hashtab.h
@@ -99,7 +99,7 @@ struct htab GTY(())
htab_del del_f;
/* Table itself. */
- PTR * GTY ((use_param (""), length ("%h.size"))) entries;
+ PTR * GTY ((use_param, length ("%h.size"))) entries;
/* Current size (in entries) of the hash table */
size_t size;
@@ -123,7 +123,7 @@ struct htab GTY(())
htab_free free_f;
/* Alternate allocate/free functions, which take an extra argument. */
- PTR GTY((skip (""))) alloc_arg;
+ PTR GTY((skip)) alloc_arg;
htab_alloc_with_arg alloc_with_arg_f;
htab_free_with_arg free_with_arg_f;
};
diff --git a/include/splay-tree.h b/include/splay-tree.h
index 86707fc1d2f..e05aeb5afb8 100644
--- a/include/splay-tree.h
+++ b/include/splay-tree.h
@@ -81,21 +81,21 @@ typedef void (*splay_tree_deallocate_fn) PARAMS((void *, void *));
struct splay_tree_node_s GTY(())
{
/* The key. */
- splay_tree_key GTY ((use_param1 (""))) key;
+ splay_tree_key GTY ((use_param1)) key;
/* The value. */
- splay_tree_value GTY ((use_param2 (""))) value;
+ splay_tree_value GTY ((use_param2)) value;
/* The left and right children, respectively. */
- splay_tree_node GTY ((use_params (""))) left;
- splay_tree_node GTY ((use_params (""))) right;
+ splay_tree_node GTY ((use_params)) left;
+ splay_tree_node GTY ((use_params)) right;
};
/* The splay tree itself. */
struct splay_tree_s GTY(())
{
/* The root of the tree. */
- splay_tree_node GTY ((use_params (""))) root;
+ splay_tree_node GTY ((use_params)) root;
/* The comparision function. */
splay_tree_compare_fn comp;
@@ -109,7 +109,7 @@ struct splay_tree_s GTY(())
/* Allocate/free functions, and a data pointer to pass to them. */
splay_tree_allocate_fn allocate;
splay_tree_deallocate_fn deallocate;
- PTR GTY((skip (""))) allocate_data;
+ PTR GTY((skip)) allocate_data;
};
typedef struct splay_tree_s *splay_tree;