summaryrefslogtreecommitdiff
path: root/ball.c
diff options
context:
space:
mode:
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);
}