[systemd-commits] 2 commits - src/core src/libsystemd-bus
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Thu Dec 5 13:59:02 PST 2013
src/core/execute.h | 2 --
src/libsystemd-bus/test-bus-gvariant.c | 1 -
2 files changed, 3 deletions(-)
New commits:
commit a809021a9c330236d520eb329cfb4d52a401e8a0
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Dec 5 22:34:01 2013 +0100
execute.h: remove redefinition of Unit
Unit is typedef'ed in both unit.h and execute.h. The typedef
existed first in unit.h and was later added to execute.h in
c17ec25e4d9bd6c8e8617416f813e25b2ebbafc5
It is no longer needed so let's just keep the one in unit.h to
avoid redefining it.
diff --git a/src/core/execute.h b/src/core/execute.h
index 5143fca..bd3db0b 100644
--- a/src/core/execute.h
+++ b/src/core/execute.h
@@ -38,8 +38,6 @@ typedef struct ExecRuntime ExecRuntime;
#include "util.h"
#include "fdset.h"
-typedef struct Unit Unit;
-
typedef enum ExecInput {
EXEC_INPUT_NULL,
EXEC_INPUT_TTY,
commit 8edb59a98b8571ffb25a7aaedeaca30f38d5ba0b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Dec 5 22:33:22 2013 +0100
test-bus-gvariant: remove unused variable
diff --git a/src/libsystemd-bus/test-bus-gvariant.c b/src/libsystemd-bus/test-bus-gvariant.c
index 9888e33..f8698cc 100644
--- a/src/libsystemd-bus/test-bus-gvariant.c
+++ b/src/libsystemd-bus/test-bus-gvariant.c
@@ -84,7 +84,6 @@ static void test_bus_gvariant_get_alignment(void) {
static void test_marshal(void) {
_cleanup_bus_message_unref_ sd_bus_message *m = NULL;
_cleanup_bus_unref_ sd_bus *bus = NULL;
- _cleanup_free_ void *p = NULL;
assert_se(sd_bus_open_system(&bus) >= 0);
bus->use_gvariant = true; /* dirty hack */
More information about the systemd-commits
mailing list