[vlc-commits] xkb: privatize vlc_xkb_convert_keysym()

Rémi Denis-Courmont git at videolan.org
Tue May 29 20:57:56 CEST 2018


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

xkb: privatize vlc_xkb_convert_keysym()

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

 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 0e4f5021cc..31c104e201 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