Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
rootston: Make add_{switch,binding}_config static
Browse files Browse the repository at this point in the history
  • Loading branch information
agx authored and emersion committed Feb 26, 2019
1 parent 2000d52 commit 65f1ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootston/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 65f1ec1

Please sign in to comment.