summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-23 21:38:44 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-23 21:38:44 +0000
commit196de029044f4dbac5f74f68e08a89f778c3a236 (patch)
tree92ae37c7b95d8c2839834ab181ad4b0da1f35da8 /src/lib/util.h
parente7a9a9a0b69d605e327d5a74abe28481d2a61179 (diff)
Be a bit more careful with fwrite.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index f62b2c492..94e9e3761 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -99,5 +99,6 @@ extern std::pair<int, int> audio_channel_types (std::list<int> mapped, int chann
extern boost::shared_ptr<AudioBuffers> remap (boost::shared_ptr<const AudioBuffers> input, int output_channels, AudioMapping map);
extern Eyes increment_eyes (Eyes e);
extern void checked_fread (void* ptr, size_t size, FILE* stream, boost::filesystem::path path);
+extern void checked_fwrite (void const * ptr, size_t size, FILE* stream, boost::filesystem::path path);
#endif