From 01bf97e772f886dd7035e8b9cd5e0300632b17e0 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 28 Oct 2003 14:51:50 +0000 Subject: [PATCH] * include/vlc_keys.h: inlined the static function to avoid warnings. --- include/vlc_keys.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/vlc_keys.h b/include/vlc_keys.h index 6e8c6e5142..d0cc39dc12 100644 --- a/include/vlc_keys.h +++ b/include/vlc_keys.h @@ -2,7 +2,7 @@ * hotkeys.h: keycode defines ***************************************************************************** * Copyright (C) 2003 VideoLAN - * $Id: vlc_keys.h,v 1.2 2003/10/08 21:01:07 gbazin Exp $ + * $Id: vlc_keys.h,v 1.3 2003/10/28 14:51:50 sam Exp $ * * Authors: Sigmund Augdal * @@ -139,7 +139,7 @@ static const struct key_descriptor_s keys[] = { ">", '>' } }; -static char *KeyToString( int i_key ) +static inline char *KeyToString( int i_key ) { unsigned int i = 0; for ( i = 0; i < sizeof(keys) / sizeof(key_descriptor_t); i++ ) @@ -151,3 +151,4 @@ static char *KeyToString( int i_key ) } return NULL; } + -- 2.39.2