]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/af_unix.c
confile: cleanup parse_line()
[mirror_lxc.git] / src / lxc / af_unix.c
index 5cf54917f1b3b1cbc58ef3a94add620365712e53..bd29b09da07134d6977d627bd975e63a2465ade4 100644 (file)
@@ -14,6 +14,7 @@
 #include <sys/syscall.h>
 #include <sys/un.h>
 
+#include "af_unix.h"
 #include "config.h"
 #include "log.h"
 #include "macro.h"
@@ -349,7 +350,7 @@ int lxc_unix_connect_type(struct sockaddr_un *addr, int type)
        return move_fd(fd);
 }
 
-int lxc_unix_connect(struct sockaddr_un *addr, int type)
+int lxc_unix_connect(struct sockaddr_un *addr)
 {
        return lxc_unix_connect_type(addr, SOCK_STREAM);
 }