summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_application.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/macosx_application.h')
-rw-r--r--osdep/macosx_application.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/osdep/macosx_application.h b/osdep/macosx_application.h
index c48d1154a0..fea34a3705 100644
--- a/osdep/macosx_application.h
+++ b/osdep/macosx_application.h
@@ -18,8 +18,6 @@
#ifndef MPV_MACOSX_APPLICATION
#define MPV_MACOSX_APPLICATION
-typedef int (*mpv_main_fn)(int, char**);
-
// Menu Keys identifing menu items
typedef enum {
MPM_H_SIZE,
@@ -30,7 +28,7 @@ typedef enum {
} MPMenuKey;
// multithreaded wrapper for mpv_main
-int cocoa_main(mpv_main_fn mpv_main, int argc, char *argv[]);
+int cocoa_main(int argc, char *argv[]);
void cocoa_register_menu_item_action(MPMenuKey key, void* action);
#endif /* MPV_MACOSX_APPLICATION */