changeset 24076:7ac48ed8c394

Functions that do not return a value must be void
author reimar
date Sat, 18 Aug 2007 10:30:15 +0000
parents 8595d6dbd0ed
children 9ce03980ed0c
files libvo/vo_macosx.h libvo/vo_macosx.m
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_macosx.h	Sat Aug 18 10:29:31 2007 +0000
+++ b/libvo/vo_macosx.h	Sat Aug 18 10:30:15 2007 +0000
@@ -51,8 +51,8 @@
 - (BOOL) resignFirstResponder;
 
 //window & rendering
-- (id) preinit;
-- (id) config;
+- (void) preinit;
+- (void) config;
 - (void) prepareOpenGL;
 - (void) render;
 - (void) reshape;
--- a/libvo/vo_macosx.m	Sat Aug 18 10:29:31 2007 +0000
+++ b/libvo/vo_macosx.m	Sat Aug 18 10:30:15 2007 +0000
@@ -335,7 +335,7 @@
 // NSOpenGLView Subclass
 //////////////////////////////////////////////////////////////////////////
 @implementation MPlayerOpenGLView
-- (id) preinit
+- (void) preinit
 {
 	//init menu
 	[self initMenu];
@@ -356,7 +356,7 @@
 	winSizeMult = 1;
 }
 
-- (id) config
+- (void) config
 {
 	uint32_t d_width;
 	uint32_t d_height;