From: Keith Seitz Date: Mon, 26 Jun 2006 17:59:42 +0000 (+0000) Subject: posix-threads.h: Fix coding style aberrations from 2006-06-19 check-in. X-Git-Tag: releases/gcc-4.2.0~2269 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49799ad34ff49b5cd5bad788b4f6fafd2ce44d08;p=thirdparty%2Fgcc.git 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 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5bff6bd1261c..d87c1b9bad97 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 41adea3e0220..8d69652e9e14 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 b280b8f39692..27f7b65bf5ae 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 305b51a50d11..7d35e518689c 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 92b569eef014..e715102f2261 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; }