From 49799ad34ff49b5cd5bad788b4f6fafd2ce44d08 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Mon, 26 Jun 2006 17:59:42 +0000 Subject: [PATCH] posix-threads.h: Fix coding style aberrations from 2006-06-19 check-in. * include/posix-threads.h: Fix coding style aberrations from 2006-06-19 check-in. * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto. * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto. * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto. From-SVN: r115020 --- libjava/ChangeLog | 8 ++++++++ libjava/include/posix-threads.h | 6 +++--- libjava/include/win32-threads.h | 6 +++--- libjava/posix-threads.cc | 6 +++--- libjava/win32-threads.cc | 6 +++--- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5bff6bd1261..d87c1b9bad9 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,11 @@ +2006-06-26 Keith Seitz + + * include/posix-threads.h: Fix coding style aberrations from + 2006-06-19 check-in. + * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto. + * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto. + * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto. + 2006-06-26 Keith Seitz * include/no-gc.h (_Jv_SuspendThread): Declare. diff --git a/libjava/include/posix-threads.h b/libjava/include/posix-threads.h index 41adea3e022..8d69652e9e1 100644 --- a/libjava/include/posix-threads.h +++ b/libjava/include/posix-threads.h @@ -378,14 +378,14 @@ void _Jv_ThreadInterrupt (_Jv_Thread_t *data); // suspend count was zero, i.e., it is not suspended, this function // will suspend the thread. This function may be used to suspend // any thread from any other thread (or suspend itself). -void _Jv_ThreadDebugSuspend (_Jv_Thread_t* data); +void _Jv_ThreadDebugSuspend (_Jv_Thread_t *data); // Decreases a thread's suspend count. If the thread's new thread // count is zero, the thread is resumed. This function may be used // by any thread to resume any other thread. -void _Jv_ThreadDebugResume (_Jv_Thread_t* data); +void _Jv_ThreadDebugResume (_Jv_Thread_t *data); // Get the suspend count for a thread -jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data); +jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data); #endif /* __JV_POSIX_THREADS__ */ diff --git a/libjava/include/win32-threads.h b/libjava/include/win32-threads.h index b280b8f3969..27f7b65bf5a 100644 --- a/libjava/include/win32-threads.h +++ b/libjava/include/win32-threads.h @@ -197,15 +197,15 @@ HANDLE _Jv_Win32GetInterruptEvent (void); // suspend count was zero, i.e., it is not suspended, this function // will suspend the thread. This function may be used to suspend // any thread from any other thread (or suspend itself). -void _Jv_ThreadDebugSuspend (_Jv_Thread_t* data); +void _Jv_ThreadDebugSuspend (_Jv_Thread_t *data); // Decreases a thread's suspend count. If the thread's new thread // count is zero, the thread is resumed. This function may be used // by any thread to resume any other thread. -void _Jv_ThreadDebugResume (_Jv_Thread_t* data); +void _Jv_ThreadDebugResume (_Jv_Thread_t *data); // Get the suspend count for a thread -jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data); +jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data); // Remove defines from that conflict with various things in libgcj code diff --git a/libjava/posix-threads.cc b/libjava/posix-threads.cc index 305b51a50d1..7d35e518689 100644 --- a/libjava/posix-threads.cc +++ b/libjava/posix-threads.cc @@ -506,17 +506,17 @@ _Jv_ThreadWait (void) } void -_Jv_ThreadDebugSuspend (_Jv_Thread_t* data) +_Jv_ThreadDebugSuspend (_Jv_Thread_t *data) { } void -_Jv_ThreadDebugResume (_Jv_Thread_t* data) +_Jv_ThreadDebugResume (_Jv_Thread_t *data) { } jint -_Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data) +_Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data) { return -1; } diff --git a/libjava/win32-threads.cc b/libjava/win32-threads.cc index 92b569eef01..e715102f226 100644 --- a/libjava/win32-threads.cc +++ b/libjava/win32-threads.cc @@ -421,17 +421,17 @@ _Jv_ThreadInterrupt (_Jv_Thread_t *data) } void -_Jv_ThreadDebugSuspend (_Jv_Thread_t* data) +_Jv_ThreadDebugSuspend (_Jv_Thread_t *data) { } void -_Jv_ThreadDebugResume (_Jv_Thread_t* data) +_Jv_ThreadDebugResume (_Jv_Thread_t *data) { } jint -_Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data) +_Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data) { return -1; } -- 2.30.2