From 37a4de176f39bbcbd59c2f5c59ef7449573abc3d Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Sat, 10 Oct 2009 23:11:31 +0000 Subject: [PATCH] Changed main declaration to remove GCC warning. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1031 7ec92016-0320-0410-acc4-a06ded1c099a --- test/CheckReturn/main.cpp | 12 ++++++------ test/Checker/main.cpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/CheckReturn/main.cpp b/test/CheckReturn/main.cpp index c766dda..dc486ed 100755 --- a/test/CheckReturn/main.cpp +++ b/test/CheckReturn/main.cpp @@ -1,12 +1,12 @@ //////////////////////////////////////////////////////////////////////////////// // The Loki Library // Copyright (c) 2007 Rich Sposato -// Permission to use, copy, modify, distribute and sell this software for any -// purpose is hereby granted without fee, provided that the above copyright -// notice appear in all copies and that both that copyright notice and this +// Permission to use, copy, modify, distribute and sell this software for any +// purpose is hereby granted without fee, provided that the above copyright +// notice appear in all copies and that both that copyright notice and this // permission notice appear in supporting documentation. -// The author makes no representations about the -// suitability of this software for any purpose. It is provided "as is" +// The author makes no representations about the +// suitability of this software for any purpose. It is provided "as is" // without express or implied warranty. //////////////////////////////////////////////////////////////////////////////// @@ -88,7 +88,7 @@ void StringEater( const string & s ) // ---------------------------------------------------------------------------- -int main( unsigned int argc, const char * argv[] ) +int main( int argc, const char * argv[] ) { if ( 2 == argc ) diff --git a/test/Checker/main.cpp b/test/Checker/main.cpp index 3d46cb6..92d92b6 100644 --- a/test/Checker/main.cpp +++ b/test/Checker/main.cpp @@ -355,7 +355,7 @@ void ThrowTest( void ) // ---------------------------------------------------------------------------- -int main( unsigned int argc, const char * const argv[] ) +int main( int argc, const char * const argv[] ) { (void)argc;