Permalink
Browse files

fix gcc error: typedef redefinition (against git staging)

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>
  • Loading branch information...
Dwight Engen authored and hallyn committed Sep 10, 2012
1 parent d101111 commit b9374094eea64867bfa9242b64bbc7ccde98a0a0
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/lxc/confile.c
View
@@ -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 },

0 comments on commit b937409

Please sign in to comment.