]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakeio.c
gzip support from quakeforge (QFile and friends). also includes a couple of
[xonotic/darkplaces.git] / quakeio.c
index 547dbb9fba3a0fdfe75b74025cdcf0a51a93991f..710e856015dea1d79632ed6def52ac1b65d3d39d 100644 (file)
--- a/quakeio.c
+++ b/quakeio.c
@@ -388,25 +388,3 @@ Qgetline (QFile *file)
        }
        return buf;
 }
-
-int
-Qgetpos (QFile *file, fpos_t * pos)
-{
-#ifdef HAVE_FPOS_T_STRUCT
-       pos->__pos = Qtell (file);
-       return pos->__pos == -1 ? -1 : 0;
-#else
-       *pos = Qtell (file);
-       return *pos == -1 ? -1 : 0;
-#endif
-}
-
-int
-Qsetpos (QFile *file, fpos_t * pos)
-{
-#ifdef HAVE_FPOS_T_STRUCT
-       return Qseek (file, pos->__pos, 0);
-#else
-       return Qseek (file, *pos, 0);
-#endif
-}