aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/simplefile.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-11-23 19:02:45 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-23 19:04:09 -0300
commitc9fb996124de535c1b7e446aa983a0165b60131c (patch)
treeef04f8ac7f3f13adfc103718f5268b421202443b /tests/libsample/simplefile.h
parentaab893abc80a1c7db0581220abdccd935e7720f8 (diff)
Removed the use of fileno from the SimpleFile test, since it is Linux specific.
Diffstat (limited to 'tests/libsample/simplefile.h')
-rw-r--r--tests/libsample/simplefile.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/libsample/simplefile.h b/tests/libsample/simplefile.h
index 2384eeb08..181144660 100644
--- a/tests/libsample/simplefile.h
+++ b/tests/libsample/simplefile.h
@@ -60,13 +60,6 @@ public:
return m_size;
}
- int fileno()
- {
- if (m_descriptor)
- return m_descriptor->_fileno;
- return -1;
- }
-
bool open();
void close();