From: Sam Hocevar Date: Tue, 28 Oct 2003 14:51:50 +0000 (+0000) Subject: * include/vlc_keys.h: inlined the static function to avoid warnings. X-Git-Tag: 0.7.0~691 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=01bf97e772f886dd7035e8b9cd5e0300632b17e0;p=vlc * include/vlc_keys.h: inlined the static function to avoid warnings. --- 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; } +