From 16e5e9541b3de49e397a3d2caa3212db25487648 Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Wed, 20 Nov 2019 00:45:19 +0100
Subject: Add -Wmissing-prototypes

This requires functions without a prototype definition to be static.
This allows to detect dead code, export less symbols and put shared
functions in headers.
---
 include/backend/drm/drm.h | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'include/backend')

diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 7f66f9c9..62ade510 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -151,4 +151,9 @@ bool set_drm_connector_gamma(struct wlr_output *output, size_t size,
 bool drm_connector_set_mode(struct wlr_output *output,
 	struct wlr_output_mode *mode);
 
+bool legacy_crtc_set_cursor(struct wlr_drm_backend *drm,
+	struct wlr_drm_crtc *crtc, struct gbm_bo *bo);
+bool legacy_crtc_move_cursor(struct wlr_drm_backend *drm,
+	struct wlr_drm_crtc *crtc, int x, int y);
+
 #endif
-- 
cgit v1.2.3