[systemd-commits] src/core

Kay Sievers kay at kemper.freedesktop.org
Wed Apr 17 09:27:57 PDT 2013


 src/core/namespace.h |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 05b9b83ad3a990f1bbe417c8da377874e1e80539
Author: Henrik Grindal Bakken <hgb at ifi.uio.no>
Date:   Wed Apr 17 18:08:37 2013 +0200

    core: Remove unnecessary typedef
    
    ExecContext isn't used in this header file, and everything seems to
    build just fine without this typedef.  The typedef doesn't really belong
    here, and at least my gcc-4.4.6 gives an error on type redefined.

diff --git a/src/core/namespace.h b/src/core/namespace.h
index 7b886b8..ddb5794 100644
--- a/src/core/namespace.h
+++ b/src/core/namespace.h
@@ -23,8 +23,6 @@
 
 #include <stdbool.h>
 
-typedef struct ExecContext ExecContext;
-
 int setup_tmpdirs(char **tmp_dir, char **var_tmp_dir);
 int setup_namespace(char **read_write_dirs,
                     char **read_only_dirs,



More information about the systemd-commits mailing list