summaryrefslogtreecommitdiff
path: root/ball.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-06-03 20:47:41 +0000
committerMatt Turner <mattst88@gmail.com>2008-06-03 20:47:41 +0000
commit33c1f18d3871fc756f381d1a3aee1fdac2ff077e (patch)
treea40710e9435af7da66e53e663d327034fd81ba1d /ball.c
parent15e2da75f4a8550b445a4ba8cb3d21c20beb007f (diff)
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
Diffstat (limited to 'ball.c')
-rw-r--r--ball.c6
1 files changed, 3 insertions, 3 deletions
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);
}