diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drm_fb.c | 6 | ||||
-rw-r--r-- | src/sdl_fb.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/drm_fb.c b/src/drm_fb.c index cfaae29..67e37bd 100644 --- a/src/drm_fb.c +++ b/src/drm_fb.c @@ -272,7 +272,7 @@ static setting_desc_t * mode_desc_generator(void *setup_context) /* setup is called repeatedly as settings is constructed, until 0 is returned. */ /* a negative value is returned on error */ /* positive value indicates another setting is needed, described in next_setting */ -int drm_fb_setup(const settings_t *settings, setting_desc_t **next_setting) +static int drm_fb_setup(const settings_t *settings, setting_desc_t **next_setting) { drm_fb_setup_t context = {}; setting_desc_generator_t generators[] = { @@ -324,7 +324,7 @@ static drmModeModeInfo * lookup_mode(drmModeConnector *connector, const char *mo /* prepare the drm context for use with the supplied settings */ -void * drm_fb_init(const settings_t *settings) +static void * drm_fb_init(const settings_t *settings) { drm_fb_t *c; const char *dev; @@ -390,7 +390,7 @@ _err: } -void drm_fb_shutdown(void *context) +static void drm_fb_shutdown(void *context) { drm_fb_t *c = context; 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; |