summaryrefslogtreecommitdiffstats
path: root/libvo/vo_quartz.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-04 17:35:26 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-04 17:35:26 +0000
commitd9ded9284c43a311b8c2bed6e85466be4d465c0c (patch)
tree383e73cb430cf999b32de6c0466410175a3401fd /libvo/vo_quartz.c
parent56a13121a765b89bcf13d3398b969e6ccb17b80c (diff)
downloadmpv-d9ded9284c43a311b8c2bed6e85466be4d465c0c.tar.bz2
mpv-d9ded9284c43a311b8c2bed6e85466be4d465c0c.tar.xz
Add missing 'void' to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_quartz.c')
-rw-r--r--libvo/vo_quartz.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index edc99ab445..f7a730a14d 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -151,10 +151,10 @@ enum
static OSStatus KeyEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData);
static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData);
static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData);
-void window_resized();
-void window_ontop();
-void window_fullscreen();
-void window_panscan();
+void window_resized(void);
+void window_ontop(void);
+void window_fullscreen(void);
+void window_panscan(void);
static inline int convert_key(UInt32 key, UInt32 charcode)
{
@@ -1315,7 +1315,7 @@ static int control(uint32_t request, void *data, ...)
return VO_NOTIMPL;
}
-void window_resized()
+void window_resized(void)
{
float aspectX;
float aspectY;
@@ -1396,7 +1396,7 @@ void window_resized()
QDEndCGContext(GetWindowPort(theWindow), &context);
}
-void window_ontop()
+void window_ontop(void)
{
if (!vo_quartz_fs)
{
@@ -1408,7 +1408,7 @@ void window_ontop()
SetWindowGroupLevel(winGroup, CGWindowLevelForKey(levelList[winLevel]));
}
-void window_fullscreen()
+void window_fullscreen(void)
{
// go fullscreen
if (vo_fs)
@@ -1493,7 +1493,7 @@ void window_fullscreen()
window_resized();
}
-void window_panscan()
+void window_panscan(void)
{
panscan_calc();