summaryrefslogtreecommitdiff
path: root/gcc/gthr-single.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-12-12 15:34:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-12-12 15:34:09 +0000
commit3e7d8ef1a6cd485144c86284728ecf0ffb1da727 (patch)
tree66db03115727a06a537c0b6e45b1435eda978747 /gcc/gthr-single.h
parent5249faded4335d7d53112df497be43d4292f818e (diff)
downloadgcc-3e7d8ef1a6cd485144c86284728ecf0ffb1da727.tar.gz
gthr-single.h (__gthread_active_p): Add prototype arguments.
* gthr-single.h (__gthread_active_p): Add prototype arguments. * libgcc2.c (__udivmoddi4): Remove unnecessary decls. (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg, __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret, function_ptr, getpagesize, __enable_execute_stack, __enable_execute_stack, __clear_insn_cache, __enable_execute_stack, __do_global_dtors, __do_global_ctors, _cleanup, _exit, __default_terminate, __terminate_func, __terminate, __empty, __throw, new_eh_context, eh_context_initialize, eh_context_static, eh_context_specific, get_eh_context, __get_eh_context, __get_eh_info, init_reg_size_table, eh_threads_initialize, __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow, __unwinding_cleanup, throw_helper, __throw, __rethrow, __pure_virtual): Add prototype arguments. (__bb_exit_func): Cast a sizeof to long when comparing against one. Cast a signed value to unsigned long when comparing against one. (new_eh_context): Wrap in _GTHREADS macro. (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at declaration. (in_reg_window): Mark parameters with __attribute__ ((__unused__)). (throw_helper): Initialize variables `handler_p' and `pc_p'. From-SVN: r30872
Diffstat (limited to 'gcc/gthr-single.h')
-rw-r--r--gcc/gthr-single.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-single.h b/gcc/gthr-single.h
index f8dfbff4e64..69c34122294 100644
--- a/gcc/gthr-single.h
+++ b/gcc/gthr-single.h
@@ -36,7 +36,7 @@ typedef int __gthread_mutex_t;
#define __GTHREAD_MUTEX_INIT 0
static inline int
-__gthread_active_p ()
+__gthread_active_p (void)
{
return 0;
}