summaryrefslogtreecommitdiff
path: root/src/common/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/io.h')
-rw-r--r--src/common/io.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/io.h b/src/common/io.h
index 3639d98..b67359b 100644
--- a/src/common/io.h
+++ b/src/common/io.h
@@ -27,8 +27,6 @@
#include <stdbool.h>
#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
@@ -53,8 +51,8 @@ int ensure_path_exists(const char *);
/* Met en place un fichier temporaire. */
int make_tmp_file(const char *, const char *, char **);
-/* Met en place un canal UNIX temporaire. */
-bool build_tmp_socket(const char *, struct sockaddr_un *);
+/* Copie un fichier. */
+bool copy_file(const char *, const char *);