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.en...@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

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to