summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 11:02:05 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 11:02:05 +0000
commit8a67379319806dedf421f5bf217091084baab573 (patch)
treed0e2c3ace20f0056c9061297ed439ad80634fae8 /mp_core.h
parent8c21a0fd736a25e6ee2477a76d4fdf4474f6bd1e (diff)
downloadmpv-8a67379319806dedf421f5bf217091084baab573.tar.bz2
mpv-8a67379319806dedf421f5bf217091084baab573.tar.xz
Rename exit_reason_t enum to exit_reason and do not typedef it.
The _t namespace is reserved for POSIX; the typedef is pointless obfuscation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30560 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/mp_core.h b/mp_core.h
index c26dff3de4..026628af2f 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -59,12 +59,12 @@
#define PT_UP_PREV -3
#define PT_STOP 4
-typedef enum {
+enum exit_reason {
EXIT_NONE,
EXIT_QUIT,
EXIT_EOF,
EXIT_ERROR
-} exit_reason_t;
+};
typedef struct MPContext {
int osd_show_percentage;
@@ -154,8 +154,8 @@ void reinit_audio_chain(void);
void init_vo_spudec(void);
double playing_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio,
const ao_functions_t *audio_out);
-void exit_player(exit_reason_t how);
-void exit_player_with_rc(exit_reason_t how, int rc);
+void exit_player(enum exit_reason how);
+void exit_player_with_rc(enum exit_reason how, int rc);
void add_subtitles(char *filename, float fps, int noerr);
int reinit_video_chain(void);