Commit 2082e8fa authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

crtools: don't include crtools.h in other headers

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a5cb5881
...@@ -6,7 +6,10 @@ ...@@ -6,7 +6,10 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "crtools.h"
#include "fdset.h" #include "fdset.h"
#include "image.h"
#include "servicefd.h"
#include "file-lock.h" #include "file-lock.h"
#include "parasite.h" #include "parasite.h"
#include "parasite-syscall.h" #include "parasite-syscall.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "compiler.h" #include "compiler.h"
#include "asm/types.h" #include "asm/types.h"
#include "files.h" #include "files.h"
#include "crtools.h"
extern int is_eventfd_link(int lfd); extern int is_eventfd_link(int lfd);
extern const struct fdtype_ops eventfd_dump_ops; extern const struct fdtype_ops eventfd_dump_ops;
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "compiler.h" #include "compiler.h"
#include "asm/types.h" #include "asm/types.h"
#include "files.h" #include "files.h"
#include "crtools.h"
extern int is_eventpoll_link(int lfd); extern int is_eventpoll_link(int lfd);
extern const struct fdtype_ops eventpoll_dump_ops; extern const struct fdtype_ops eventpoll_dump_ops;
......
#ifndef __FILE_LOCK_H__ #ifndef __FILE_LOCK_H__
#define __FILE_LOCK_H__ #define __FILE_LOCK_H__
#include "crtools.h" #include "list.h"
#include "protobuf.h" #include "protobuf.h"
#include "protobuf/file-lock.pb-c.h" #include "protobuf/file-lock.pb-c.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "compiler.h" #include "compiler.h"
#include "asm/types.h" #include "asm/types.h"
#include "files.h" #include "files.h"
#include "crtools.h"
struct fsnotify_params { struct fsnotify_params {
u32 id; u32 id;
......
#ifndef __CR_IPC_NS_H__ #ifndef __CR_IPC_NS_H__
#define __CR_IPC_NS_H__ #define __CR_IPC_NS_H__
#include "crtools.h"
extern int dump_ipc_ns(int ns_pid, int ns_id); extern int dump_ipc_ns(int ns_pid, int ns_id);
extern int prepare_ipc_ns(int pid); extern int prepare_ipc_ns(int pid);
......
#ifndef __CR_NS_H__ #ifndef __CR_NS_H__
#define __CR_NS_H__ #define __CR_NS_H__
#include "crtools.h"
#include "files.h" #include "files.h"
struct ns_desc { struct ns_desc {
......
#ifndef __CR_PROC_POSIX_TIMER_H__ #ifndef __CR_PROC_POSIX_TIMER_H__
#define __CR_PROC_POSIX_TIMER_H__ #define __CR_PROC_POSIX_TIMER_H__
#include "list.h"
struct str_posix_timer { struct str_posix_timer {
long it_id; long it_id;
int clock_id; int clock_id;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "image.h" #include "image.h"
#include "lock.h" #include "lock.h"
#include "util.h" #include "util.h"
#include "crtools.h"
#include "asm/restorer.h" #include "asm/restorer.h"
#include "posix-timer.h" #include "posix-timer.h"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#define __CR_TTY_H__ #define __CR_TTY_H__
#include "files.h" #include "files.h"
#include "crtools.h"
/* Kernel's limit */ /* Kernel's limit */
#define TERMIOS_NCC 19 #define TERMIOS_NCC 19
......
#ifndef __CR_UTS_NS_H__ #ifndef __CR_UTS_NS_H__
#define __CR_UTS_NS_H__ #define __CR_UTS_NS_H__
#include "crtools.h"
int dump_uts_ns(int ns_pid, int ns_id); int dump_uts_ns(int ns_pid, int ns_id);
int prepare_utsns(int pid); int prepare_utsns(int pid);
......
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