rootston: Make add_{switch,binding}_config static
This commit is contained in:
parent
2000d52405
commit
65f1ec1d5e
|
@ -164,7 +164,7 @@ static bool parse_modeline(const char *s, drmModeModeInfo *mode) {
|
||||||
return true;
|
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) {
|
const char* command) {
|
||||||
struct roots_binding_config *bc =
|
struct roots_binding_config *bc =
|
||||||
calloc(1, sizeof(struct roots_binding_config));
|
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) {
|
const char *action, const char *command) {
|
||||||
struct roots_switch_config *sc =
|
struct roots_switch_config *sc =
|
||||||
calloc(1, sizeof(struct roots_switch_config));
|
calloc(1, sizeof(struct roots_switch_config));
|
||||||
|
|
Loading…
Reference in New Issue