From: Kaveh R. Ghazi Date: Thu, 22 Oct 1998 17:02:18 +0000 (+0000) Subject: splay-tree.h: Wrap function pointer parameter declarations in PARAMS() macro. X-Git-Tag: prereleases/libgcj-0.1~2381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da61b7d51c44436b33c3d1d21f2b1353e184c2f8;p=thirdparty%2Fgcc.git splay-tree.h: Wrap function pointer parameter declarations in PARAMS() macro. * splay-tree.h: Wrap function pointer parameter declarations in PARAMS() macro. From-SVN: r23231 --- diff --git a/include/ChangeLog b/include/ChangeLog index 1e395b1711c4..ba944af75c8c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 22 19:58:00 1998 Kaveh R. Ghazi + + * splay-tree.h: Wrap function pointer parameter declarations in + PARAMS() macro. + 1998-10-21 Mark Mitchell * splay-tree.h: New file. diff --git a/include/splay-tree.h b/include/splay-tree.h index 0088106792d5..b52d802afcf0 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