diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-22 17:02:18 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-22 17:02:18 +0000 |
commit | d288a1e1b13d5983f149a32172eae06f7823d0eb (patch) | |
tree | f5410fdce9b824965495e08385bae975ed2eed58 /include/splay-tree.h | |
parent | e61da89da7d0b6a51527e44217df841aec5c8638 (diff) | |
download | gcc-d288a1e1b13d5983f149a32172eae06f7823d0eb.tar.gz |
* splay-tree.h: Wrap function pointer parameter declarations in
PARAMS() macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/splay-tree.h')
-rw-r--r-- | include/splay-tree.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/splay-tree.h b/include/splay-tree.h index 0088106792d..b52d802afcf 100644 --- a/include/splay-tree.h +++ b/include/splay-tree.h @@ -52,18 +52,18 @@ typedef struct splay_tree_node *splay_tree_node; /* The type of a function which compares two splay-tree keys. The function should return values as for qsort. */ -typedef int (*splay_tree_compare_fn)(splay_tree_key, splay_tree_key); +typedef int (*splay_tree_compare_fn) PARAMS((splay_tree_key, splay_tree_key)); /* The type of a function used to deallocate any resources associated with the key. */ -typedef void (*splay_tree_delete_key_fn)(splay_tree_key); +typedef void (*splay_tree_delete_key_fn) PARAMS((splay_tree_key)); /* The type of a function used to deallocate any resources associated with the value. */ -typedef void (*splay_tree_delete_value_fn)(splay_tree_value); +typedef void (*splay_tree_delete_value_fn) PARAMS((splay_tree_value)); /* The type of a function used to iterate over the tree. */ -typedef int (*splay_tree_foreach_fn)(splay_tree_node, void*); +typedef int (*splay_tree_foreach_fn) PARAMS((splay_tree_node, void*)); /* The nodes in the splay tree. */ struct splay_tree_node |