diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-15 21:03:11 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-15 22:34:40 -0400 |
commit | e9f3d2d508bfd9fb5b54e82994bda365a71eb864 (patch) | |
tree | 5cbc33e5f3b497641e5c8818ced20feb8c94780b /src/journal | |
parent | 8201af08fa09c2bd0f005fbe262f27e2c5bd2d86 (diff) |
Constify ConfigTableItem tables
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/coredump.c | 2 | ||||
-rw-r--r-- | src/journal/journald-server.c | 2 |
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)); |