From 4ba92170fcc18d5c194f3bc18ea96d36adf9d9ce Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 14 Feb 2021 14:15:53 -0800 Subject: 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. --- src/drm_fb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drm_fb.c') 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; -- cgit v1.2.1