1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00

systemctl: add 'const' where appropriate

This commit is contained in:
Lennart Poettering 2015-09-24 12:28:07 +02:00
parent 48ec22bc02
commit fc2ffaf17d

View File

@ -133,7 +133,7 @@ static enum action {
_ACTION_MAX _ACTION_MAX
} arg_action = ACTION_SYSTEMCTL; } arg_action = ACTION_SYSTEMCTL;
static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;
static char *arg_host = NULL; static const char *arg_host = NULL;
static unsigned arg_lines = 10; static unsigned arg_lines = 10;
static OutputMode arg_output = OUTPUT_SHORT; static OutputMode arg_output = OUTPUT_SHORT;
static bool arg_plain = false; static bool arg_plain = false;