diff options
Diffstat (limited to 'ipc/util.h')
-rw-r--r-- | ipc/util.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ipc/util.h b/ipc/util.h index e3aa2c5c97dc..333e891bcaca 100644 --- a/ipc/util.h +++ b/ipc/util.h | |||
@@ -41,12 +41,8 @@ struct ipc_ids { | |||
41 | }; | 41 | }; |
42 | 42 | ||
43 | struct seq_file; | 43 | struct seq_file; |
44 | #ifdef CONFIG_IPC_NS | 44 | |
45 | #define __ipc_init | 45 | void ipc_init_ids(struct ipc_ids *ids, int size); |
46 | #else | ||
47 | #define __ipc_init __init | ||
48 | #endif | ||
49 | void __ipc_init ipc_init_ids(struct ipc_ids *ids, int size); | ||
50 | #ifdef CONFIG_PROC_FS | 46 | #ifdef CONFIG_PROC_FS |
51 | void __init ipc_init_proc_interface(const char *path, const char *header, | 47 | void __init ipc_init_proc_interface(const char *path, const char *header, |
52 | int ids, int (*show)(struct seq_file *, void *)); | 48 | int ids, int (*show)(struct seq_file *, void *)); |