aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/util/os-compatibility.h9
-rw-r--r--include/util/shm.h7
2 files changed, 7 insertions, 9 deletions
diff --git a/include/util/os-compatibility.h b/include/util/os-compatibility.h
deleted file mode 100644
index 2038025e..00000000
--- a/include/util/os-compatibility.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef UTIL_OS_COMPATIBILITY_H
-#define UTIL_OS_COMPATIBILITY_H
-
-int os_fd_set_cloexec(int fd);
-int set_cloexec_or_close(int fd);
-int create_tmpfile_cloexec(char *tmpname);
-int os_create_anonymous_file(off_t size);
-
-#endif
diff --git a/include/util/shm.h b/include/util/shm.h
new file mode 100644
index 00000000..fb67b711
--- /dev/null
+++ b/include/util/shm.h
@@ -0,0 +1,7 @@
+#ifndef UTIL_SHM_H
+#define UTIL_SHM_H
+
+int create_shm_file(void);
+int allocate_shm_file(size_t size);
+
+#endif