From 3456e561348d637627fffc69dbbbb6d8bd3dc0de Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 15 Nov 2013 14:04:46 +0400 Subject: [PATCH] headers: Add \Newline-s for readability sake Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- include/cr-show.h | 2 ++ include/kerndat.h | 1 + include/page-pipe.h | 2 ++ include/page-read.h | 2 ++ include/page-xfer.h | 2 ++ include/parasite-syscall.h | 1 + include/rst-malloc.h | 1 + include/tun.h | 2 ++ include/util-pie.h | 1 + 9 files changed, 14 insertions(+) diff --git a/include/cr-show.h b/include/cr-show.h index a370fc259..165f87a81 100644 --- a/include/cr-show.h +++ b/include/cr-show.h @@ -1,5 +1,6 @@ #ifndef __CR_SHOW_H__ #define __CR_SHOW_H__ + #include #include "asm/types.h" @@ -18,4 +19,5 @@ extern void ipc_msg_handler(int fd, void *obj); extern void ipc_sem_handler(int fd, void *obj); extern int cr_parse_fd(int fd, u32 magic); extern void show_tcp_stream(int fd, void *obj); + #endif /* __CR_SHOW_H__ */ diff --git a/include/kerndat.h b/include/kerndat.h index 6d79bbc1d..e001ee9d7 100644 --- a/include/kerndat.h +++ b/include/kerndat.h @@ -19,4 +19,5 @@ extern int tcp_max_wshare; extern int tcp_max_rshare; extern int kern_last_cap; + #endif /* __CR_KERNDAT_H__ */ diff --git a/include/page-pipe.h b/include/page-pipe.h index 4da4d0ea3..698e51bd2 100644 --- a/include/page-pipe.h +++ b/include/page-pipe.h @@ -1,5 +1,6 @@ #ifndef __CR_PAGE_PIPE_H__ #define __CR_PAGE_PIPE_H__ + #include #include "list.h" @@ -96,4 +97,5 @@ int page_pipe_add_page(struct page_pipe *p, unsigned long addr); int page_pipe_add_hole(struct page_pipe *p, unsigned long addr); void debug_show_page_pipe(struct page_pipe *pp); + #endif /* __CR_PAGE_PIPE_H__ */ diff --git a/include/page-read.h b/include/page-read.h index cdcc93ea8..d738a22b8 100644 --- a/include/page-read.h +++ b/include/page-read.h @@ -1,5 +1,6 @@ #ifndef __CR_PAGE_READ_H__ #define __CR_PAGE_READ_H__ + #include "protobuf/pagemap.pb-c.h" /* @@ -66,4 +67,5 @@ struct page_read { }; int open_page_read(int pid, struct page_read *); + #endif /* __CR_PAGE_READ_H__ */ diff --git a/include/page-xfer.h b/include/page-xfer.h index 537e4c2d0..a40983b0d 100644 --- a/include/page-xfer.h +++ b/include/page-xfer.h @@ -1,5 +1,6 @@ #ifndef __CR_PAGE_XFER__H__ #define __CR_PAGE_XFER__H__ + int cr_page_server(bool daemon_mode); /* @@ -31,4 +32,5 @@ int page_xfer_dump_pages(struct page_xfer *, struct page_pipe *, unsigned long off); int connect_to_page_server(void); int disconnect_from_page_server(void); + #endif /* __CR_PAGE_XFER__H__ */ diff --git a/include/parasite-syscall.h b/include/parasite-syscall.h index 8d9b6a579..023d002e0 100644 --- a/include/parasite-syscall.h +++ b/include/parasite-syscall.h @@ -122,4 +122,5 @@ extern int parasite_fixup_vdso(struct parasite_ctl *ctl, pid_t pid, extern int parasite_stop_on_syscall(int tasks, int sys_nr); extern int parasite_unmap(struct parasite_ctl *ctl, unsigned long addr); + #endif /* __CR_PARASITE_SYSCALL_H__ */ diff --git a/include/rst-malloc.h b/include/rst-malloc.h index 910f54c26..d2aec7af0 100644 --- a/include/rst-malloc.h +++ b/include/rst-malloc.h @@ -64,4 +64,5 @@ void rst_mem_free_last(int type); */ unsigned long rst_mem_remap_size(void); int rst_mem_remap(void *to); + #endif /* __CR_RST_MALLOC__H__ */ diff --git a/include/tun.h b/include/tun.h index 7516b5b3e..2e4e4db63 100644 --- a/include/tun.h +++ b/include/tun.h @@ -1,5 +1,6 @@ #ifndef __CR_TUN_H__ #define __CR_TUN_H__ + #ifndef TUN_MINOR #define TUN_MINOR 200 #endif @@ -11,4 +12,5 @@ int dump_tun_link(NetDeviceEntry *nde, struct cr_fdset *fds); int restore_one_tun(NetDeviceEntry *nde, int nlsk); extern struct collect_image_info tunfile_cinfo; int check_tun(void); + #endif /* __CR_TUN_H__ */ diff --git a/include/util-pie.h b/include/util-pie.h index 9fd1064f1..0d6b29bee 100644 --- a/include/util-pie.h +++ b/include/util-pie.h @@ -62,4 +62,5 @@ static inline int recv_fd(int sock) } int open_detach_mount(char *dir); + #endif /* __CR_UTIL_NET_H__ */