system/helpers.cpp: add return value for mySleep()

Origin commit data
------------------
Branch: ni/coolstream
Commit: c9dd6fac39
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-01-14 21:44:14 +01:00
parent 1cc532eea3
commit 8031b9fce0
2 changed files with 3 additions and 3 deletions

View File

@@ -47,12 +47,12 @@
#include <gui/update_ext.h>
using namespace std;
void mySleep(int sec) {
int mySleep(int sec) {
struct timeval timeout;
timeout.tv_sec = sec;
timeout.tv_usec = 0;
select(0,0,0,0, &timeout);
return select(0,0,0,0, &timeout);
}
off_t file_size(const char *filename)