|
From: Seth D. <set...@us...> - 2005-01-14 16:59:08
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16251 Modified Files: FastTimes.c Log Message: Changed asm keyword to __asm__, which is compatible with both Xcode and CodeWarrior. asm was not working in Xcode. Index: FastTimes.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/FastTimes.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FastTimes.c 14 Jan 2005 12:27:39 -0000 1.3 --- FastTimes.c 14 Jan 2005 16:58:57 -0000 1.4 *************** *** 88,93 **** static double gScaleMSec = 1.0 / 1000000.0; /* 1 / ( nsec / msec) */ ! static asm UnsignedWide PollRTC(void); ! static asm UnsignedWide PollTBR(void); static Ptr FindFunctionInSharedLib(StringPtr libName, StringPtr funcName); --- 88,93 ---- static double gScaleMSec = 1.0 / 1000000.0; /* 1 / ( nsec / msec) */ ! static __asm__ UnsignedWide PollRTC(void); ! static __asm__ UnsignedWide PollTBR(void); static Ptr FindFunctionInSharedLib(StringPtr libName, StringPtr funcName); *************** *** 314,318 **** #if TARGET_CPU_PPC ! asm static UnsignedWide PollRTC_() { entry PollRTC /* Avoid CodeWarrior glue */ machine 601 --- 314,318 ---- #if TARGET_CPU_PPC ! __asm__ static UnsignedWide PollRTC_() { entry PollRTC /* Avoid CodeWarrior glue */ machine 601 *************** *** 331,335 **** /* **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** */ ! asm static UnsignedWide PollTBR_() { entry PollTBR /* Avoid CodeWarrior glue */ machine 604 --- 331,335 ---- /* **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** */ ! __asm__ static UnsignedWide PollTBR_() { entry PollTBR /* Avoid CodeWarrior glue */ machine 604 |