diff options
| author | David Lamparter <equinox@diac24.net> | 2019-11-20 17:26:59 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-12-02 15:01:29 +0100 |
| commit | 2b64873d24730882af68bdf2881aa380a3a8d17f (patch) | |
| tree | 7bb835e81d96fc17ec5d1bed8bb5f5857a9673ad /watchfrr | |
| parent | 0d8c7a26a1e5dbbd36df79751b2468276bd7ec20 (diff) | |
*: generously apply const
const const const your boat, merrily down the stream...
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'watchfrr')
| -rw-r--r-- | watchfrr/watchfrr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/watchfrr/watchfrr.c b/watchfrr/watchfrr.c index ea59655824..4e8502107a 100644 --- a/watchfrr/watchfrr.c +++ b/watchfrr/watchfrr.c @@ -76,7 +76,7 @@ typedef enum { PHASE_WAITING_ZEBRA_UP } restart_phase_t; -static const char *phase_str[] = { +static const char *const phase_str[] = { "Idle", "Startup", "Stop jobs running", @@ -144,7 +144,7 @@ typedef enum { #define IS_UP(DMN) \ (((DMN)->state == DAEMON_UP) || ((DMN)->state == DAEMON_UNRESPONSIVE)) -static const char *state_str[] = { +static const char *const state_str[] = { "Init", "Down", "Connecting", "Up", "Unresponsive", }; |
