aboutsummaryrefslogtreecommitdiff
path: root/gcc/ch/tasking.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-10-09 10:08:26 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-10-09 10:08:26 +0000
commit297a6bfc7005b8a217b6f33dc7b781f778795a85 (patch)
tree1ff56064156ceccf8d0cb86fc34a3866c06703ac /gcc/ch/tasking.c
parentf9fad1f531a1d63bd59327be6ce1b064f335dbde (diff)
downloadgcc-297a6bfc7005b8a217b6f33dc7b781f778795a85.zip
gcc-297a6bfc7005b8a217b6f33dc7b781f778795a85.tar.gz
gcc-297a6bfc7005b8a217b6f33dc7b781f778795a85.tar.bz2
Warning fixes:
* ch-tree.h (build_delay_case_end): Remove unused parameter. (build_receive_case_end): Likewise. (check_queue_size): Likewise. * parse.c: Callers changed. * satisfy.c: Likewise. * tasking.c (build_receive_buffer_case_end): Remove unused parameter `label_cnt'. (build_receive_signal_case_end): Likewise. (build_receive_case_end): Likewise. (build_delay_case_end): Likewise. (check_queue_size): Likewise for parameter `type'. All callers changed. From-SVN: r22957
Diffstat (limited to 'gcc/ch/tasking.c')
-rw-r--r--gcc/ch/tasking.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/ch/tasking.c b/gcc/ch/tasking.c
index c0c1c9c..c07d325 100644
--- a/gcc/ch/tasking.c
+++ b/gcc/ch/tasking.c
@@ -2085,8 +2085,8 @@ build_receive_case_label (signame, loclist)
* BUFFER location and TREE_PURPOSE defines the defining occurence.
*/
static void
-build_receive_buffer_case_end (label_cnt, buf_list, else_clause)
- tree label_cnt, buf_list, else_clause;
+build_receive_buffer_case_end (buf_list, else_clause)
+ tree buf_list, else_clause;
{
struct rc_state_type *rc_state = current_rc_state;
tree alist;
@@ -2185,8 +2185,8 @@ build_receive_buffer_case_end (label_cnt, buf_list, else_clause)
* case-label counter passed from build_receive_case_start.
*/
static void
-build_receive_signal_case_end (label_cnt, sig_list, else_clause)
- tree label_cnt, sig_list, else_clause;
+build_receive_signal_case_end (sig_list, else_clause)
+ tree sig_list, else_clause;
{
struct rc_state_type *rc_state = current_rc_state;
tree alist, temp1;
@@ -2285,8 +2285,8 @@ build_receive_signal_case_end (label_cnt, sig_list, else_clause)
/* General function for the end of a RECEIVE CASE action */
void
-build_receive_case_end (label_cnt, alist, else_clause)
- tree label_cnt, alist, else_clause;
+build_receive_case_end (alist, else_clause)
+ tree alist, else_clause;
{
rtx rcdone = gen_label_rtx ();
struct rc_state_type *rc_state = current_rc_state;
@@ -2322,9 +2322,9 @@ build_receive_case_end (label_cnt, alist, else_clause)
/* now call the actual end function */
if (rc_state->bufseen)
- build_receive_buffer_case_end (label_cnt, alist, else_clause);
+ build_receive_buffer_case_end (alist, else_clause);
else
- build_receive_signal_case_end (label_cnt, alist, else_clause);
+ build_receive_signal_case_end (alist, else_clause);
/* now jump to the beginning of RECEIVE CASE processing */
gen_rcdoit: ;
@@ -2594,8 +2594,8 @@ build_delay_case_label (eventlist, if_or_elseif)
* passed from build_delay_case_start.
*/
void
-build_delay_case_end (label_cnt, event_list)
- tree label_cnt, event_list;
+build_delay_case_end (event_list)
+ tree event_list;
{
struct dl_state_type *dl_state = current_dl_state;
rtx dldone = gen_label_rtx ();
@@ -3209,8 +3209,8 @@ invalidate_buffer_element_mode (bufmode)
perform various error checks. Return a new queue size. */
tree
-check_queue_size (type, qsize)
- tree type, qsize;
+check_queue_size (qsize)
+ tree qsize;
{
if (qsize == NULL_TREE || TREE_CODE (qsize) == ERROR_MARK)
return qsize;