ICU-4707 Fix some compiler warnings.

X-SVN-Rev: 19925
This commit is contained in:
George Rhoten 2006-07-29 01:44:45 +00:00
parent aaab30d9f4
commit 7b3b80aeec

View file

@ -1,6 +1,6 @@
/*
************************************************************************
* Copyright (c) 1997-2005, International Business Machines
* Copyright (c) 1997-2006, International Business Machines
* Corporation and others. All Rights Reserved.
************************************************************************
*/
@ -211,7 +211,7 @@ typedef void FuntionToBeTimed(void* param);
*
* @param timer A pointer to UTimer struct to recieve the current time
*/
static void U_EXPORT2
static U_INLINE void U_EXPORT2
utimer_getTime(UTimer* timer){
uprv_initFrequency(timer);
uprv_start(timer);
@ -225,7 +225,7 @@ utimer_getTime(UTimer* timer){
* @param timer2 A pointer to UTimer struct to be used as end time
* @return Time in seconds
*/
static double U_EXPORT2
static U_INLINE double U_EXPORT2
utimer_getDeltaSeconds(UTimer* timer1, UTimer* timer2){
if(uprv_compareFrequency(timer1,timer2)){
return uprv_delta(timer1,timer2);
@ -240,7 +240,7 @@ utimer_getDeltaSeconds(UTimer* timer1, UTimer* timer2){
* @param timer A pointer to UTimer struct to be used as starting time
* @return Time elapsed in seconds
*/
static double U_EXPORT2
static U_INLINE double U_EXPORT2
utimer_getElapsedSeconds(UTimer* timer){
UTimer temp;
utimer_getTime(&temp);
@ -256,7 +256,7 @@ utimer_getElapsedSeconds(UTimer* timer){
* @param param Parameters to be passed to the fn
* @return the time elapsed in seconds
*/
static double U_EXPORT2
static U_INLINE double U_EXPORT2
utimer_loopUntilDone(double thresholdTimeVal,
int32_t* loopCount,
FuntionToBeTimed fn,