From 2be770b895794bc96d9aff49806c19279d008364 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 5 Mar 2021 10:13:04 +0100 Subject: [PATCH] attach_options: explicitly number enums Signed-off-by: Christian Brauner --- src/lxc/attach_options.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/attach_options.h b/src/lxc/attach_options.h index d018970c3..4f9e8cc75 100644 --- a/src/lxc/attach_options.h +++ b/src/lxc/attach_options.h @@ -13,8 +13,8 @@ extern "C" { * LXC environment policy. */ typedef enum lxc_attach_env_policy_t { - LXC_ATTACH_KEEP_ENV, /*!< Retain the environment */ - LXC_ATTACH_CLEAR_ENV /*!< Clear the environment */ + LXC_ATTACH_KEEP_ENV = 0, /*!< Retain the environment */ + LXC_ATTACH_CLEAR_ENV = 1, /*!< Clear the environment */ } lxc_attach_env_policy_t; enum { -- 2.47.3