aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/io/istream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/io/istream.h b/include/io/istream.h
index 3280327..9c34678 100644
--- a/include/io/istream.h
+++ b/include/io/istream.h
@@ -96,7 +96,10 @@ SQFS_INTERNAL sqfs_s32 istream_read(istream_t *strm, void *data, size_t size);
*
* @return 0 on success, -1 on failure.
*/
-SQFS_INTERNAL int istream_precache(istream_t *strm);
+SQFS_INLINE int istream_precache(istream_t *strm)
+{
+ return strm->precache(strm);
+}
/**
* @brief Get the underlying filename of an input stream.