From c811895a7ee9f75c94103d0841d95454614f7fbd Mon Sep 17 00:00:00 2001 From: shatty Date: Mon, 18 Oct 2004 09:10:20 +0000 Subject: [PATCH] static functions need static prototypes git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9390 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/private/kernel/arch/thread.h b/headers/private/kernel/arch/thread.h index 7989323afc..649a925585 100644 --- a/headers/private/kernel/arch/thread.h +++ b/headers/private/kernel/arch/thread.h @@ -27,8 +27,8 @@ void arch_thread_switch_kstack_and_call(struct thread *t, addr new_kstack, void // (those functions are "static inline" for x86 - since // "extern inline" doesn't work for "gcc -g"...) #ifndef ARCH_x86 -struct thread *arch_thread_get_current_thread(void); -void arch_thread_set_current_thread(struct thread *t); +static struct thread *arch_thread_get_current_thread(void); +static void arch_thread_set_current_thread(struct thread *t); #endif status_t arch_setup_signal_frame(struct thread *t, struct sigaction *sa, int sig, int sig_mask);