]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
attach_options: explicitly number enums
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 5 Mar 2021 09:13:04 +0000 (10:13 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 5 Mar 2021 09:13:04 +0000 (10:13 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/attach_options.h

index d018970c3d1c1df6669d8feb6c1bd6d6a0c2392e..4f9e8cc75ed3811a578d80e6bdea9bab19902625 100644 (file)
@@ -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 {