diff --git a/osdep/mac/app_bridge.h b/osdep/mac/app_bridge.h index 53388d8ba8..32c161b493 100644 --- a/osdep/mac/app_bridge.h +++ b/osdep/mac/app_bridge.h @@ -1,6 +1,4 @@ /* - * Cocoa Application Event Handling - * * This file is part of mpv. * * mpv is free software; you can redistribute it and/or @@ -17,8 +15,7 @@ * License along with mpv. If not, see . */ -#ifndef MAC_EVENTS -#define MAC_EVENTS +#pragma once #include "input/input.h" @@ -27,5 +24,3 @@ void cocoa_uninit_media_keys(void); void cocoa_set_input_context(struct input_ctx *input_context); void cocoa_set_mpv_handle(struct mpv_handle *ctx); void cocoa_init_cocoa_cb(void); - -#endif diff --git a/osdep/mac/app_bridge.m b/osdep/mac/app_bridge.m index 976cfed3d1..79024dc882 100644 --- a/osdep/mac/app_bridge.m +++ b/osdep/mac/app_bridge.m @@ -1,6 +1,4 @@ /* - * Cocoa Application Event Handling - * * This file is part of mpv. * * mpv is free software; you can redistribute it and/or diff --git a/osdep/mac/application.h b/osdep/mac/application.h index 06e5f1dcb5..52bae7a104 100644 --- a/osdep/mac/application.h +++ b/osdep/mac/application.h @@ -15,8 +15,7 @@ * License along with mpv. If not, see . */ -#ifndef MAC_APPLICATION -#define MAC_APPLICATION +#pragma once #include "options/m_option.h" @@ -48,5 +47,3 @@ struct macos_opts { int cocoa_main(int argc, char *argv[]); extern const struct m_sub_options macos_conf; - -#endif /* MAC_APPLICATION */