diff options
Diffstat (limited to 'lib/x1000-installer/test_lib/file.c')
-rw-r--r-- | lib/x1000-installer/test_lib/file.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/x1000-installer/test_lib/file.c b/lib/x1000-installer/test_lib/file.c deleted file mode 100644 index 8769c009a4..0000000000 --- a/lib/x1000-installer/test_lib/file.c +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | #include "file.h" | ||
2 | |||
3 | off_t filesize(int osfd) | ||
4 | { | ||
5 | struct stat sb; | ||
6 | |||
7 | if (!fstat(osfd, &sb)) | ||
8 | return sb.st_size; | ||
9 | else | ||
10 | return -1; | ||
11 | } | ||