fix compile on newer gcc

This commit is contained in:
Glenn Maynard
2006-07-26 23:29:11 +00:00
parent 99039b63f5
commit 32e4125b2e
+2 -2
View File
@@ -123,7 +123,7 @@ void test_suspend_main_thread()
}
/* Run a second function, so we have two symbols to search for. */
void TestBacktraceThreadLoop() __attribute__ ((noinline));
void TestBacktraceThreadLoop() __attribute__ ((__noinline__));
void TestBacktraceThreadLoop()
{
g_ThreadId = GetCurrentThreadId();
@@ -131,7 +131,7 @@ void TestBacktraceThreadLoop()
;
}
int TestBacktraceThread( void *p ) __attribute__ ((noinline));
int TestBacktraceThread( void *p ) __attribute__ ((__noinline__));
int TestBacktraceThread( void *p )
{
TestBacktraceThreadLoop();