[vlc-devel] commit: Use typedef around vlc_key enum (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Mar 29 00:14:43 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at ambre.(none)> | Fri Mar 28 16:14:42 2008 -0700| [955d1b68cbfd01e5a132067e5694fc7302467f4c]

Use typedef around vlc_key enum

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

 include/vlc_keys.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_keys.h b/include/vlc_keys.h
index 2d0f516..d7b1d7d 100644
--- a/include/vlc_keys.h
+++ b/include/vlc_keys.h
@@ -233,7 +233,7 @@ static inline int StringToKey( char *psz_key )
     return 0;
 }
 
-enum {
+typedef enum vlc_key {
     ACTIONID_QUIT = 1,
     ACTIONID_PLAY_PAUSE,
     ACTIONID_PLAY,
@@ -336,5 +336,5 @@ enum {
     ACTIONID_ZOOM_DOUBLE,
     /* Cycle Through Audio Devices */
     ACTIONID_AUDIODEVICE_CYCLE
-};
+} vlc_key_t;
 #endif




More information about the vlc-devel mailing list