summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-18 10:30:15 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-18 10:30:15 +0000
commit4166de18ec814d174817c8e379bfdc761c5195f0 (patch)
tree40c71a2c2a93927498a6cee676e420c1d0796032 /libvo
parent1f6ab04e67fdc99562f23a3508fcec924d331b1c (diff)
downloadmpv-4166de18ec814d174817c8e379bfdc761c5195f0.tar.bz2
mpv-4166de18ec814d174817c8e379bfdc761c5195f0.tar.xz
Functions that do not return a value must be void
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24096 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_macosx.h4
-rw-r--r--libvo/vo_macosx.m4
2 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_macosx.h b/libvo/vo_macosx.h
index 0eb8bc0cc0..2a6365cfe4 100644
--- a/libvo/vo_macosx.h
+++ b/libvo/vo_macosx.h
@@ -51,8 +51,8 @@
- (BOOL) resignFirstResponder;
//window & rendering
-- (id) preinit;
-- (id) config;
+- (void) preinit;
+- (void) config;
- (void) prepareOpenGL;
- (void) render;
- (void) reshape;
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index cbc1dcab59..e3aa5c894a 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -335,7 +335,7 @@ static int control(uint32_t request, void *data, ...)
// NSOpenGLView Subclass
//////////////////////////////////////////////////////////////////////////
@implementation MPlayerOpenGLView
-- (id) preinit
+- (void) preinit
{
//init menu
[self initMenu];
@@ -356,7 +356,7 @@ static int control(uint32_t request, void *data, ...)
winSizeMult = 1;
}
-- (id) config
+- (void) config
{
uint32_t d_width;
uint32_t d_height;