[lxc-devel] [PATCH 1/2] fix gcc error: typedef redefinition (against git staging)

Stéphane Graber stgraber at ubuntu.com
Mon Sep 10 18:58:56 UTC 2012


On 12-09-10 02:26 PM, Dwight Engen wrote:
> Fix gcc error confile.c:83: error: redefinition of typedef ‘config_cb’.
> Its already defined the same way in confile.h.
> 
> Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
> ---
>  src/lxc/confile.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/src/lxc/confile.c b/src/lxc/confile.c
> index 0f4e11d..f1a01da 100644
> --- a/src/lxc/confile.c
> +++ b/src/lxc/confile.c
> @@ -80,8 +80,6 @@ static int config_seccomp(const char *, char *, struct lxc_conf *);
>  static int config_includefile(const char *, char *, struct lxc_conf *);
>  static int config_network_nic(const char *, char *, struct lxc_conf *);
>  
> -typedef int (*config_cb)(const char *, char *, struct lxc_conf *);
> -
>  static struct lxc_config_t config[] = {
>  
>  	{ "lxc.arch",                 config_personality          },

Reviewed by Serge and pushed to staging branch.

Thanks.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20120910/feccb4d4/attachment.pgp>


More information about the lxc-devel mailing list