summaryrefslogtreecommitdiff
path: root/glpong.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 /glpong.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 'glpong.c')
-rw-r--r--glpong.c4
1 files changed, 2 insertions, 2 deletions
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) {