aboutsummaryrefslogtreecommitdiff
path: root/lib/base/rawfile.h
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2008-03-25 22:11:03 +0000
committerAndreas Oberritter <obi@opendreambox.org>2008-03-25 22:11:03 +0000
commita3b666437785e7b6b97fa9de31e82867cea407ea (patch)
treebf430fb822507acf95de38e70127018ac2dc9cdf /lib/base/rawfile.h
parentecd8882f14e3ad6ebfc27be40dc71d110fe278c1 (diff)
downloadenigma2-a3b666437785e7b6b97fa9de31e82867cea407ea.tar.gz
enigma2-a3b666437785e7b6b97fa9de31e82867cea407ea.zip
replace openFile() by two functions openFileCached() and openFileUncached(), to avoid casting FILE* to int
Diffstat (limited to 'lib/base/rawfile.h')
-rw-r--r--lib/base/rawfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base/rawfile.h b/lib/base/rawfile.h
index 859f10ba..a1c73d6a 100644
--- a/lib/base/rawfile.h
+++ b/lib/base/rawfile.h
@@ -27,7 +27,8 @@ private:
void scan();
int m_current_file;
int switchOffset(off_t off);
- int openFile(int nr);
+ FILE *openFileCached(int nr);
+ int openFileUncached(int nr);
};
#endif