Commit 3f03d139 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

headers: Add missing __CR_ at last endif

For big #ifdef/#endif chunks we do a comment /* */
at #endif. Add missing ones.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ada7322a
...@@ -13,4 +13,4 @@ int send_criu_dump_resp(int socket_fd, bool success, bool restored); ...@@ -13,4 +13,4 @@ int send_criu_dump_resp(int socket_fd, bool success, bool restored);
extern struct _cr_service_client *cr_service_client; extern struct _cr_service_client *cr_service_client;
extern unsigned int service_sk_ino; extern unsigned int service_sk_ino;
#endif #endif /* __CR_SERVICE_H__ */
...@@ -40,4 +40,4 @@ extern struct cr_options opts; ...@@ -40,4 +40,4 @@ extern struct cr_options opts;
extern void init_opts(void); extern void init_opts(void);
#endif #endif /* __CR_OPTIONS_H__ */
...@@ -33,4 +33,4 @@ struct cr_fdset *cr_glob_fdset_open(int mode); ...@@ -33,4 +33,4 @@ struct cr_fdset *cr_glob_fdset_open(int mode);
void close_cr_fdset(struct cr_fdset **cr_fdset); void close_cr_fdset(struct cr_fdset **cr_fdset);
#endif #endif /* __CR_FDSET_H__ */
...@@ -19,4 +19,4 @@ extern int tcp_max_wshare; ...@@ -19,4 +19,4 @@ extern int tcp_max_wshare;
extern int tcp_max_rshare; extern int tcp_max_rshare;
extern int kern_last_cap; extern int kern_last_cap;
#endif #endif /* __CR_KERNDAT_H__ */
...@@ -39,4 +39,4 @@ enum { ...@@ -39,4 +39,4 @@ enum {
#define NDIAG_SHOW_MEMINFO 0x00000001 /* show memory info of a socket */ #define NDIAG_SHOW_MEMINFO 0x00000001 /* show memory info of a socket */
#define NDIAG_SHOW_GROUPS 0x00000002 /* show groups of a netlink socket */ #define NDIAG_SHOW_GROUPS 0x00000002 /* show groups of a netlink socket */
#endif #endif /* __CR_NETLINK_DIAG_H__ */
...@@ -96,4 +96,4 @@ int page_pipe_add_page(struct page_pipe *p, unsigned long addr); ...@@ -96,4 +96,4 @@ int page_pipe_add_page(struct page_pipe *p, unsigned long addr);
int page_pipe_add_hole(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); void debug_show_page_pipe(struct page_pipe *pp);
#endif #endif /* __CR_PAGE_PIPE_H__ */
...@@ -66,4 +66,4 @@ struct page_read { ...@@ -66,4 +66,4 @@ struct page_read {
}; };
int open_page_read(int pid, struct page_read *); int open_page_read(int pid, struct page_read *);
#endif #endif /* __CR_PAGE_READ_H__ */
...@@ -31,4 +31,4 @@ int page_xfer_dump_pages(struct page_xfer *, struct page_pipe *, ...@@ -31,4 +31,4 @@ int page_xfer_dump_pages(struct page_xfer *, struct page_pipe *,
unsigned long off); unsigned long off);
int connect_to_page_server(void); int connect_to_page_server(void);
int disconnect_from_page_server(void); int disconnect_from_page_server(void);
#endif #endif /* __CR_PAGE_XFER__H__ */
...@@ -29,4 +29,4 @@ static inline bool pid_rst_prio(unsigned pid_a, unsigned pid_b) ...@@ -29,4 +29,4 @@ static inline bool pid_rst_prio(unsigned pid_a, unsigned pid_b)
return pid_a < pid_b; return pid_a < pid_b;
} }
#endif #endif /* __CR_PID_H__ */
...@@ -23,4 +23,4 @@ struct proc_posix_timers_stat { ...@@ -23,4 +23,4 @@ struct proc_posix_timers_stat {
extern int parse_posix_timers(pid_t pid, struct proc_posix_timers_stat * args); extern int parse_posix_timers(pid_t pid, struct proc_posix_timers_stat * args);
#endif #endif /* __CR_PROC_POSIX_TIMER_H__ */
...@@ -64,4 +64,4 @@ void rst_mem_free_last(int type); ...@@ -64,4 +64,4 @@ void rst_mem_free_last(int type);
*/ */
unsigned long rst_mem_remap_size(void); unsigned long rst_mem_remap_size(void);
int rst_mem_remap(void *to); int rst_mem_remap(void *to);
#endif #endif /* __CR_RST_MALLOC__H__ */
...@@ -43,4 +43,4 @@ struct rst_info { ...@@ -43,4 +43,4 @@ struct rst_info {
}; };
}; };
#endif #endif /* __CR_RST_INFO_H__ */
...@@ -30,4 +30,4 @@ extern int close_service_fd(enum sfd_type type); ...@@ -30,4 +30,4 @@ extern int close_service_fd(enum sfd_type type);
extern bool is_service_fd(int fd, enum sfd_type type); extern bool is_service_fd(int fd, enum sfd_type type);
extern bool is_any_service_fd(int fd); extern bool is_any_service_fd(int fd);
#endif #endif /* __CR_SERVICE_FD_H__ */
...@@ -43,4 +43,4 @@ void cnt_add(int c, unsigned long val); ...@@ -43,4 +43,4 @@ void cnt_add(int c, unsigned long val);
int init_stats(int what); int init_stats(int what);
void write_stats(int what); void write_stats(int what);
#endif #endif /* __CR_STATS_H__ */
...@@ -11,4 +11,4 @@ int dump_tun_link(NetDeviceEntry *nde, struct cr_fdset *fds); ...@@ -11,4 +11,4 @@ int dump_tun_link(NetDeviceEntry *nde, struct cr_fdset *fds);
int restore_one_tun(NetDeviceEntry *nde, int nlsk); int restore_one_tun(NetDeviceEntry *nde, int nlsk);
extern struct collect_image_info tunfile_cinfo; extern struct collect_image_info tunfile_cinfo;
int check_tun(void); int check_tun(void);
#endif #endif /* __CR_TUN_H__ */
...@@ -41,4 +41,4 @@ static inline int in_vma_area(struct vma_area *vma, unsigned long addr) ...@@ -41,4 +41,4 @@ static inline int in_vma_area(struct vma_area *vma, unsigned long addr)
addr < (unsigned long)vma->vma.end; addr < (unsigned long)vma->vma.end;
} }
#endif #endif /* __CR_VMA_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment