chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cddf148
)
core: Remove unnecessary typedef
author
Henrik Grindal Bakken
<hgb@ifi.uio.no>
Wed, 17 Apr 2013 16:08:37 +0000
(18:08 +0200)
committer
Kay Sievers
<kay@vrfy.org>
Wed, 17 Apr 2013 16:27:46 +0000
(18:27 +0200)
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.
src/core/namespace.h
patch
|
blob
|
history
diff --git
a/src/core/namespace.h
b/src/core/namespace.h
index 7b886b8abf8f0965a8cd191f7bc29c7d931398c0..ddb579468d94fa0bbf3dbb2ac67d3c3e4dfddd99 100644
(file)
--- 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,