diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-24 02:28:37 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-24 02:28:37 +0000 |
commit | ba4fc7dfb72cdf46c4f2c20ca7a4ebc2395a8877 (patch) | |
tree | 88b1021b4a595fc67a1bc99941b3db47b9dc7dcb /gcc/ada/atree.h | |
parent | 0a5370530729695532e72ecf176973d9454682d6 (diff) | |
download | gcc-ba4fc7dfb72cdf46c4f2c20ca7a4ebc2395a8877.tar.gz |
* adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
stringt.h: Convert to ISO C90 declarations and definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/atree.h')
-rw-r--r-- | gcc/ada/atree.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/ada/atree.h b/gcc/ada/atree.h index c13ffbd5173..7397f4e816f 100644 --- a/gcc/ada/atree.h +++ b/gcc/ada/atree.h @@ -274,7 +274,7 @@ extern struct Node *Nodes_Ptr; #define Parent atree__parent -extern Node_Id Parent PARAMS((Node_Id)); +extern Node_Id Parent (Node_Id); /* Overloaded Functions: @@ -287,24 +287,22 @@ typedef Int Tree_Id; /* These two functions can only be used for Node_Id and List_Id values and they work in the C version because Empty = No_List = 0. */ -static Boolean No PARAMS ((Tree_Id)); -static Boolean Present PARAMS ((Tree_Id)); +static Boolean No (Tree_Id); +static Boolean Present (Tree_Id); INLINE Boolean -No (N) - Tree_Id N; +No (Tree_Id N) { return N == Empty; } INLINE Boolean -Present (N) - Tree_Id N; +Present (Tree_Id N) { return N != Empty; } -extern Node_Id Parent PARAMS((Tree_Id)); +extern Node_Id Parent (Tree_Id); #define Current_Error_Node atree__current_error_node extern Node_Id Current_Error_Node; |