From c6d7f5ee96b8e23267fbc6f7810b139ead39f3e7 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Tue, 13 Apr 2021 22:04:38 +0200 Subject: [PATCH] Make screen_show_window() static It is only used from screen.c now. --- app/src/screen.c | 2 +- app/src/screen.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/screen.c b/app/src/screen.c index 93c059e6..3ded4263 100644 --- a/app/src/screen.c +++ b/app/src/screen.c @@ -365,7 +365,7 @@ screen_init(struct screen *screen, struct video_buffer *vb, return true; } -void +static void screen_show_window(struct screen *screen) { SDL_ShowWindow(screen->window); } diff --git a/app/src/screen.h b/app/src/screen.h index 4e1d5e63..e725bad6 100644 --- a/app/src/screen.h +++ b/app/src/screen.h @@ -60,10 +60,6 @@ screen_init(struct screen *screen, struct video_buffer *vb, struct fps_counter *fps_counter, const struct screen_params *params); -// show the window -void -screen_show_window(struct screen *screen); - // destroy window, renderer and texture (if any) void screen_destroy(struct screen *screen);