From 33c1f18d3871fc756f381d1a3aee1fdac2ff077e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 3 Jun 2008 20:47:41 +0000 Subject: Fix a few things picked up by the Compaq C Compiler (on my Alpha) git-svn-id: svn://mattst88.com/svn/glpong/trunk@16 449aeecc-241a-0410-943f-e2f883e2d7a2 --- glpong.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glpong.c') diff --git a/glpong.c b/glpong.c index a7c7c7e..921420a 100644 --- a/glpong.c +++ b/glpong.c @@ -13,7 +13,7 @@ static int GLPong_Init(GLPong_t * GLPong); static void GLPong_Deinit(GLPong_t * GLPong); -static int GLPong_HandleEvents(); +static int GLPong_HandleEvents(void); static INLINE unsigned int NextPow2(unsigned int value); static GLuint SDL_GL_SurfaceToTexture(SDL_Surface * surface); static GLuint SDL_GL_NPOTSurfaceToTexture(SDL_Surface * surface, GLfloat * wratio, GLfloat * hratio); @@ -160,7 +160,7 @@ GLPong_Deinit(GLPong_t * GLPong) { } static int -GLPong_HandleEvents() { +GLPong_HandleEvents(void) { SDL_Event Event; if (SDL_PollEvent(&Event) != 0) { -- cgit v1.2.3