Constify ConfigTableItem tables

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2014-07-15 22:34:40 -04:00
parent 8201af08fa
commit e9f3d2d508
18 changed files with 33 additions and 30 deletions
+4 -2
View File
@@ -93,8 +93,10 @@ static int network_load_one(Manager *manager, const char *filename) {
network->dhcp_routes = true;
network->dhcp_sendhost = true;
r = config_parse(NULL, filename, file, "Match\0Network\0Address\0Route\0DHCP\0DHCPv4\0", config_item_perf_lookup,
(void*) network_network_gperf_lookup, false, false, network);
r = config_parse(NULL, filename, file,
"Match\0Network\0Address\0Route\0DHCP\0DHCPv4\0",
config_item_perf_lookup, network_network_gperf_lookup,
false, false, network);
if (r < 0) {
log_warning("Could not parse config file %s: %s", filename, strerror(-r));
return r;