aboutgitcodebugslistschat
diff options
context:
space:
mode:
-rw-r--r--pasta.c1
-rw-r--r--pasta.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/pasta.c b/pasta.c
index 5aa56b7..b998a9f 100644
--- a/pasta.c
+++ b/pasta.c
@@ -46,6 +46,7 @@
#include "util.h"
#include "passt.h"
+#include "pasta.h"
#include "isolation.h"
#include "netlink.h"
#include "log.h"
diff --git a/pasta.h b/pasta.h
index edd7747..b6a4cd5 100644
--- a/pasta.h
+++ b/pasta.h
@@ -17,7 +17,7 @@ void pasta_start_ns(struct ctx *c, uid_t uid, gid_t gid, bool config_idmaps,
void pasta_ns_conf(struct ctx *c);
void pasta_child_handler(int signal);
void pasta_netns_quit_init(const struct ctx *c);
-void pasta_netns_quit_inotify_handler(struct ctx *c, int inotify_fd);
-void pasta_netns_quit_timer_handler(struct ctx *c, union epoll_ref ref);
+void pasta_netns_quit_inotify_handler(const struct ctx *c, int inotify_fd);
+void pasta_netns_quit_timer_handler(const struct ctx *c, union epoll_ref ref);
#endif /* PASTA_H */