Code Cleanup

- Removed unused util.cpp delay function.
This commit is contained in:
Paul Beckingham 2014-09-07 16:48:42 -04:00
parent be104ee7c4
commit 8a31ccabdc
3 changed files with 0 additions and 12 deletions

View file

@ -135,16 +135,6 @@ int confirm4 (const std::string& question)
else return 0;
}
////////////////////////////////////////////////////////////////////////////////
void delay (float f)
{
struct timeval t;
t.tv_sec = (int) f;
t.tv_usec = int ((f - (int)f) * 1000000);
select (0, NULL, NULL, NULL, &t);
}
////////////////////////////////////////////////////////////////////////////////
// Convert a quantity in seconds to a more readable format.
std::string formatBytes (size_t bytes)