summaryrefslogtreecommitdiff
path: root/fitz/stm_misc.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2009-03-05 19:53:53 +0100
committerTor Andersson <tor@ghostscript.com>2009-03-05 19:53:53 +0100
commitd219624c5cfb98556c71cf71d6eed6727846badc (patch)
treea1952fcc99482fdd7605fab75f7e21e339323aae /fitz/stm_misc.c
parent240bd7637433d5c162677c32dd0f77da92ebed80 (diff)
downloadmupdf-d219624c5cfb98556c71cf71d6eed6727846badc.tar.xz
Remove unused and mostly untested pdf updating and writing code.
Diffstat (limited to 'fitz/stm_misc.c')
-rw-r--r--fitz/stm_misc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/fitz/stm_misc.c b/fitz/stm_misc.c
index af5e1445..4a51aeb8 100644
--- a/fitz/stm_misc.c
+++ b/fitz/stm_misc.c
@@ -5,22 +5,6 @@
#include "fitz_base.h"
#include "fitz_stream.h"
-int
-fz_tell(fz_stream *stm)
-{
- if (stm->mode == FZ_SREAD)
- return fz_rtell(stm);
- return fz_wtell(stm);
-}
-
-fz_error *
-fz_seek(fz_stream *stm, int offset, int whence)
-{
- if (stm->mode == FZ_SREAD)
- return fz_rseek(stm, offset, whence);
- return fz_wseek(stm, offset, whence);
-}
-
/*
* Read a line terminated by LF or CR or CRLF.
*/