summaryrefslogtreecommitdiff
path: root/src/sdl_fb.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-02-14 14:15:53 -0800
committerVito Caputo <vcaputo@pengaru.com>2021-02-14 15:16:53 -0800
commit4ba92170fcc18d5c194f3bc18ea96d36adf9d9ce (patch)
tree63ba7a8f658972d224026e4f4518f5c5f8a3301b /src/sdl_fb.c
parente993dcbfc12a989eb8459c756a1dcdb43de234e8 (diff)
drm_fb,sdl_fb: staticify all functions
Some omissions, nothing in these is public outside of what's explicitly plumbed out via fb_ops_t.
Diffstat (limited to 'src/sdl_fb.c')
-rw-r--r--src/sdl_fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdl_fb.c b/src/sdl_fb.c
index 6ba69e1..dfb319a 100644
--- a/src/sdl_fb.c
+++ b/src/sdl_fb.c
@@ -25,7 +25,7 @@ struct sdl_fb_page_t {
};
-int sdl_fb_setup(const settings_t *settings, setting_desc_t **next_setting)
+static int sdl_fb_setup(const settings_t *settings, setting_desc_t **next_setting)
{
const char *fullscreen_values[] = {
"off",
@@ -87,7 +87,7 @@ int sdl_fb_setup(const settings_t *settings, setting_desc_t **next_setting)
}
-void * sdl_fb_init(const settings_t *settings)
+static void * sdl_fb_init(const settings_t *settings)
{
const char *fullscreen;
const char *size;
@@ -138,7 +138,7 @@ void * sdl_fb_init(const settings_t *settings)
}
-void sdl_fb_shutdown(void *context)
+static void sdl_fb_shutdown(void *context)
{
sdl_fb_t *c = context;
© All Rights Reserved