diff options
Diffstat (limited to 'src/common/lock.hpp')
-rw-r--r-- | src/common/lock.hpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/common/lock.hpp b/src/common/lock.hpp index 19c1302..f7ce2d8 100644 --- a/src/common/lock.hpp +++ b/src/common/lock.hpp @@ -1,8 +1,15 @@ #ifndef LOCK_HPP #define LOCK_HPP + +#include "sanity.hpp" + +#include <cstdio> + +// 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(const char *filename, int *info); +void lock_fclose(FILE * fp, const char *filename, int *info); #endif // LOCK_HPP |