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
This commit is contained in:
parent
6e978472dd
commit
37a4de176f
2 changed files with 7 additions and 7 deletions
|
@ -1,12 +1,12 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// The Loki Library
|
// The Loki Library
|
||||||
// Copyright (c) 2007 Rich Sposato
|
// Copyright (c) 2007 Rich Sposato
|
||||||
// Permission to use, copy, modify, distribute and sell this software for any
|
// Permission to use, copy, modify, distribute and sell this software for any
|
||||||
// purpose is hereby granted without fee, provided that the above copyright
|
// purpose is hereby granted without fee, provided that the above copyright
|
||||||
// notice appear in all copies and that both that copyright notice and this
|
// notice appear in all copies and that both that copyright notice and this
|
||||||
// permission notice appear in supporting documentation.
|
// permission notice appear in supporting documentation.
|
||||||
// The author makes no representations about the
|
// The author makes no representations about the
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
// suitability of this software for any purpose. It is provided "as is"
|
||||||
// without express or implied warranty.
|
// 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 )
|
if ( 2 == argc )
|
||||||
|
|
|
@ -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;
|
(void)argc;
|
||||||
|
|
Loading…
Reference in a new issue