From cb7fe5a58563e581adea51fb3324c11ae53033da Mon Sep 17 00:00:00 2001 From: Bob Pendleton Date: Wed, 23 Sep 2009 02:52:11 +0000 Subject: [PATCH] int testmmousetable.c the arguments to main() are not compatible with what is required in SDL_main.h Cleaned up testatomic.c to use the same syntax as every other test program. --- test/testatomic.c | 2 +- test/testmmousetablet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testatomic.c b/test/testatomic.c index dc97b7e3c..a594b105c 100644 --- a/test/testatomic.c +++ b/test/testatomic.c @@ -20,7 +20,7 @@ tf(SDL_bool tf) } int -main(int argc, char **argv) +main(int argc, char *argv[]) { volatile Uint32 val32 = 0; diff --git a/test/testmmousetablet.c b/test/testmmousetablet.c index 1eaaf231e..4a85d9fac 100644 --- a/test/testmmousetablet.c +++ b/test/testmmousetablet.c @@ -5,7 +5,7 @@ SDL_Surface *screen; int quit = 0; int -main() +main(int argc, char *argv[]) { SDL_Event event; int mice;