diff options
Diffstat (limited to 'src/safe.c')
| -rw-r--r-- | src/safe.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1,5 +1,3 @@ -#include "compat.h" - #define MOS_FORCE_PREFIXES #include "moslib/safe.h" @@ -90,11 +88,3 @@ int mos_safe_pipe_fn(int fd[2], MosSafeErrInfo info) { ERR_MESS("failed to pipe"); exit(EXIT_FAILURE); } - -int mos_safe_mkstemp_fn(char *path, MosSafeErrInfo info) { - int fd = mos_mkstemp(path); - if (fd != -1) - return fd; - ERR_MESS("failed to make temporary file"); - exit(EXIT_FAILURE); -} |
