diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-08-20 15:30:30 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-09-08 16:00:05 +0200 |
| commit | 5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5 (patch) | |
| tree | d70a981da0dd9c55ed4778d8a0c492b769b6cefb | |
| parent | 7e8d49b8a6b501b9eb9caf44cf1f653fd2a385b5 (diff) | |
| download | passt-5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5.tar passt-5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5.tar.gz passt-5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5.tar.bz2 passt-5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5.tar.lz passt-5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5.tar.xz passt-5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5.tar.zst passt-5b4bdc8c0362c1e0926a8f0eeb6e63f89c0ec7d5.zip | |
pasta: Include pasta.h in pasta.c
pasta.c doesn't include its own header, meaning the compiler hasn't caught
some mismatches between functions and their prototypes. Fix the oversight.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
| -rw-r--r-- | pasta.c | 1 | ||||
| -rw-r--r-- | pasta.h | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -46,6 +46,7 @@ #include "util.h" #include "passt.h" +#include "pasta.h" #include "isolation.h" #include "netlink.h" #include "log.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 */ |
