summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/coredump.c2
-rw-r--r--src/journal/journald-server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/coredump.c b/src/journal/coredump.c
index 1b8c2e8bc0..cd612b7ebc 100644
--- a/src/journal/coredump.c
+++ b/src/journal/coredump.c
@@ -120,7 +120,7 @@ static int parse_config(void) {
NULL,
"Coredump\0",
config_item_table_lookup,
- (void*) items,
+ items,
false,
false,
NULL);
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index f8da4daa41..097af24c5b 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -1347,7 +1347,7 @@ static int server_parse_config_file(Server *s) {
}
r = config_parse(NULL, fn, f, "Journal\0", config_item_perf_lookup,
- (void*) journald_gperf_lookup, false, false, s);
+ journald_gperf_lookup, false, false, s);
if (r < 0)
log_warning("Failed to parse configuration file: %s", strerror(-r));