[Devel] Re: [PATCH] ipc_ind_to_str unused if !CONFIG_CHECKPOINT_DEBUG

Oren Laadan orenl at librato.com
Fri Oct 23 11:54:45 PDT 2009


Added, thanks.

Serge E. Hallyn wrote:
> (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])
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list