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 --- ball.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ball.c') diff --git a/ball.c b/ball.c index 914804c..1ae80fe 100644 --- a/ball.c +++ b/ball.c @@ -3,8 +3,8 @@ #include "SDL.h" #include "SDL_opengl.h" -#include "glpong.h" #include "ball.h" +#include "glpong.h" static GLuint ball; static GLfloat ball_width; @@ -22,7 +22,7 @@ length(Ball_t * balls) { #endif void -GLPong_BallInit() { +GLPong_BallInit(void) { ball_width = 20.0f; ball_height = 20.0f; @@ -38,7 +38,7 @@ GLPong_BallInit() { } void -GLPong_BallDeinit() { +GLPong_BallDeinit(void) { glDeleteLists(ball, 1); } -- cgit v1.2.3