summaryrefslogtreecommitdiff
path: root/src/drm_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/drm_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/drm_fb.c')
-rw-r--r--src/drm_fb.c6
1 files changed, 3 insertions, 3 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;
© All Rights Reserved