Changeset 2429


Ignore:
Timestamp:
Feb 17, 2013, 7:38:10 PM (6 years ago)
Author:
Jnat
Message:

Fix missing ;
static float to static void for waitseconds()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sys/timer.cpp

    r2428 r2429  
    6666    }
    6767
    68     static float WaitSeconds(float seconds)
     68    static void WaitSeconds(float seconds)
    6969    {
    7070        if (seconds > 0.0f)
     
    8585    }
    8686
    87     static float WaitSeconds(float seconds)
     87    static void WaitSeconds(float seconds)
    8888    {
    8989        if (seconds > 5e-4f)
    9090            Sleep((int)(seconds * 1e3f + 0.5f));
    91         return .0f; /* FIXME */
    9291    }
    9392
     
    112111    }
    113112
    114     static float WaitSeconds(float seconds)
     113    static void WaitSeconds(float seconds)
    115114    {
    116115        if (seconds > 0.0f)
     
    137136    }
    138137
    139     static float WaitSeconds(float seconds)
     138    static void WaitSeconds(float seconds)
    140139    {
    141140        if (seconds > 5e-4f)
Note: See TracChangeset for help on using the changeset viewer.