diff options
author | Guido Günther <agx@sigxcpu.org> | 2019-02-25 18:16:26 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-26 15:48:59 +0100 |
commit | 65f1ec1d5eb13fab3b953da8d5e8092175e04149 (patch) | |
tree | 78a7e076e08904dbd280d5743009070304bde8d7 /rootston/config.c | |
parent | 2000d5240589e2cbec14158f7db72f69cdef04e6 (diff) |
rootston: Make add_{switch,binding}_config static
Diffstat (limited to 'rootston/config.c')
-rw-r--r-- | rootston/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/config.c b/rootston/config.c index d9376091..314af264 100644 --- a/rootston/config.c +++ b/rootston/config.c @@ -164,7 +164,7 @@ static bool parse_modeline(const char *s, drmModeModeInfo *mode) { return true; } -void add_binding_config(struct wl_list *bindings, const char* combination, +static void add_binding_config(struct wl_list *bindings, const char* combination, const char* command) { struct roots_binding_config *bc = calloc(1, sizeof(struct roots_binding_config)); @@ -201,7 +201,7 @@ void add_binding_config(struct wl_list *bindings, const char* combination, } } -void add_switch_config(struct wl_list *switches, const char *switch_name, +static void add_switch_config(struct wl_list *switches, const char *switch_name, const char *action, const char *command) { struct roots_switch_config *sc = calloc(1, sizeof(struct roots_switch_config)); |