[vlc-commits] xkb: privatize vlc_xkb_convert_keysym()

Rémi Denis-Courmont git at videolan.org
Tue May 29 21:00:48 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 29 21:53:19 2018 +0300| [6903e60f1535735c6e5947be237f026536f592bd] | committer: Rémi Denis-Courmont

xkb: privatize vlc_xkb_convert_keysym()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6903e60f1535735c6e5947be237f026536f592bd
---

 modules/video_output/xcb/vlc_xkb.h | 1 -
 modules/video_output/xcb/xkb.c     | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/video_output/xcb/vlc_xkb.h b/modules/video_output/xcb/vlc_xkb.h
index b7c7287d65..b583fa19c9 100644
--- a/modules/video_output/xcb/vlc_xkb.h
+++ b/modules/video_output/xcb/vlc_xkb.h
@@ -24,6 +24,5 @@
 
 struct xkb_state;
 
-uint_fast32_t vlc_xkb_convert_keysym(uint_fast32_t sym);
 uint_fast32_t vlc_xkb_get_one(struct xkb_state *state, uint_fast32_t keycode);
 
diff --git a/modules/video_output/xcb/xkb.c b/modules/video_output/xcb/xkb.c
index 7eb667e385..35384ee4c7 100644
--- a/modules/video_output/xcb/xkb.c
+++ b/modules/video_output/xcb/xkb.c
@@ -40,7 +40,7 @@ static int keysymcmp (const void *pa, const void *pb)
     return a - b;
 }
 
-uint_fast32_t vlc_xkb_convert_keysym(uint_fast32_t sym)
+static uint_fast32_t vlc_xkb_convert_keysym(uint_fast32_t sym)
 {
     static const struct
     {



More information about the vlc-commits mailing list