[Devel] [PATCH] ipc_ind_to_str unused if !CONFIG_CHECKPOINT_DEBUG
Serge E. Hallyn
serue at us.ibm.com
Thu Oct 22 12:36:57 PDT 2009
(compilation cleanup on top of
fix-compile-with-CONFIG_CHECKPOINT_DEBUG-n.patch
)
Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
ipc/checkpoint.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ipc/checkpoint.c b/ipc/checkpoint.c
index 8e6e9ba..ab9110a 100644
--- a/ipc/checkpoint.c
+++ b/ipc/checkpoint.c
@@ -21,7 +21,9 @@
#include "util.h"
/* for ckpt_debug */
+#ifdef CONFIG_CHECKPOINT_DEBUG
static char *ipc_ind_to_str[] = { "sem", "msg", "shm" };
+#endif
#define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS])
#define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS])
--
1.6.1
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list