changeset 3299:975fd903466b

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.
author Bob Pendleton <bob@pendleton.com>
date Wed, 23 Sep 2009 02:52:11 +0000
parents 94f22808d19e
children 34a4a01da79c
files test/testatomic.c test/testmmousetablet.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;