summaryrefslogtreecommitdiff
path: root/src/common/lock.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/lock.hpp')
-rw-r--r--src/common/lock.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/lock.hpp b/src/common/lock.hpp
index f7ce2d8..df4d1f8 100644
--- a/src/common/lock.hpp
+++ b/src/common/lock.hpp
@@ -5,11 +5,13 @@
#include <cstdio>
+#include "strings.hpp"
+
// TODO replace with a class
/// Locked FILE I/O
// Changes are made in a separate file until lock_fclose
-FILE *lock_fopen(const char *filename, int *info);
-void lock_fclose(FILE * fp, const char *filename, int *info);
+FILE *lock_fopen(ZString filename, int *info);
+void lock_fclose(FILE *fp, ZString filename, int *info);
#endif // LOCK_HPP