int testmmousetable.c the arguments to main() are not compatible with what is required in SDL_main.h
authorBob Pendleton <bob@pendleton.com>
Wed, 23 Sep 2009 02:52:11 +0000
changeset 3299 975fd903466b
parent 3298 94f22808d19e
child 3300 34a4a01da79c
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
test/testmmousetablet.c
--- a/test/testatomic.c	Tue Sep 22 02:20:56 2009 +0000
+++ b/test/testatomic.c	Wed Sep 23 02:52:11 2009 +0000
@@ -20,7 +20,7 @@
 }
   
 int
-main(int argc, char **argv)
+main(int argc, char *argv[])
 {
 
    volatile Uint32 val32 = 0;
--- a/test/testmmousetablet.c	Tue Sep 22 02:20:56 2009 +0000
+++ b/test/testmmousetablet.c	Wed Sep 23 02:52:11 2009 +0000
@@ -5,7 +5,7 @@
 int quit = 0;
 
 int
-main()
+main(int argc, char *argv[])
 {
     SDL_Event event;
     int mice;