Skip to content

Commit

Permalink
display: statify local functions
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Feb 21, 2022
1 parent 5aaedef commit 5531b9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
continue; \
}

void display_choose_timing_mode(dcp_timing_mode_t *modes, int cnt, dcp_timing_mode_t *best)
static void display_choose_timing_mode(dcp_timing_mode_t *modes, int cnt, dcp_timing_mode_t *best)
{
*best = modes[0];

Expand All @@ -36,7 +36,7 @@ void display_choose_timing_mode(dcp_timing_mode_t *modes, int cnt, dcp_timing_mo
best->height, best->fps >> 16, (best->fps & 0xffff) * 99 / 0xffff);
}

void display_choose_color_mode(dcp_color_mode_t *modes, int cnt, dcp_color_mode_t *best)
static void display_choose_color_mode(dcp_color_mode_t *modes, int cnt, dcp_color_mode_t *best)
{
*best = modes[0];

Expand All @@ -53,7 +53,7 @@ void display_choose_color_mode(dcp_color_mode_t *modes, int cnt, dcp_color_mode_
best->colorimetry, best->eotf, best->encoding, best->bpp);
}

int display_configure(void)
static int display_configure(void)
{
int ret = -1;

Expand Down

0 comments on commit 5531b9a

Please sign in to comment.