From: Christian Brauner Date: Fri, 5 Feb 2021 09:38:27 +0000 (+0100) Subject: attach_options: use standard C pointer syntax X-Git-Tag: lxc-5.0.0~299^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5072dcd5f8160c3c1b52be5479c736b592b0828;p=thirdparty%2Flxc.git attach_options: use standard C pointer syntax Signed-off-by: Christian Brauner --- diff --git a/src/lxc/attach_options.h b/src/lxc/attach_options.h index df92e569c..c24fb9120 100644 --- a/src/lxc/attach_options.h +++ b/src/lxc/attach_options.h @@ -78,7 +78,7 @@ typedef struct lxc_attach_options_t { * If the current directory does not exist in the container, the root * directory will be used instead because of kernel defaults. */ - char* initial_cwd; + char *initial_cwd; /*! The user-id to run as. * @@ -98,12 +98,12 @@ typedef struct lxc_attach_options_t { lxc_attach_env_policy_t env_policy; /*! Extra environment variables to set in the container environment */ - char** extra_env_vars; + char **extra_env_vars; /*! Names of environment variables in existing environment to retain * in container environment. */ - char** extra_keep_env; + char **extra_keep_env; /**@{*/ /*! File descriptors for stdin, stdout and stderr, @@ -155,8 +155,8 @@ typedef struct lxc_attach_options_t { * Representation of a command to run in a container. */ typedef struct lxc_attach_command_t { - char* program; /*!< The program to run (passed to execvp) */ - char** argv; /*!< The argv pointer of that program, including the program itself in argv[0] */ + char *program; /*!< The program to run (passed to execvp) */ + char **argv; /*!< The argv pointer of that program, including the program itself in argv[0] */ } lxc_attach_command_t; /*!