summaryrefslogtreecommitdiff
path: root/gcc/gthr-single.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-12 15:34:09 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-12 15:34:09 +0000
commit71218a21910702813aa380add0685e497dd206d8 (patch)
tree66db03115727a06a537c0b6e45b1435eda978747 /gcc/gthr-single.h
parentfc6d984322106eb1d06648f4a1e670ad8286e11a (diff)
downloadgcc-71218a21910702813aa380add0685e497dd206d8.tar.gz
* 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30872 138bc75d-0d04-0410-961f-82ee72b054a4
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;
}