summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index c5a680d..3dfd1e8 100644
--- a/main.c
+++ b/main.c
@@ -13,6 +13,11 @@ int main (int argc, char *argv[])
srand (time(NULL));
SURFACES surfaces;
POSITIONS positions;
+
+ /* XXX argc and argv are required in some implementations of the SDL library */
+ (void) argc;
+ (void) argv;
+
Finitialisersurfaces (&surfaces);
if (SDL_Init (SDL_INIT_VIDEO) == -1)
{