]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fix gcc error: typedef redefinition (against git staging)
authorDwight Engen <dwight.engen@oracle.com>
Mon, 10 Sep 2012 18:26:36 +0000 (14:26 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:17:54 +0000 (13:17 -0500)
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@oracle.com>
Acked-by: Serge E. Hallyn <serge.hallyn@canonical.com>
src/lxc/confile.c

index abe4cfa2ae8a9b2b887855ac2574e51637dc39fb..3c548b1d317ab3b1483130b25205b8dec6d88819 100644 (file)
@@ -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          },