mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- The __main() stub function expected by the 68k GCC build is no
longer part of "stdlib_main.c". This helps the C++ support, since the __main symbol definition no longer clashes with the definition in "libgcc.a". git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15076 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdlib_main.c,v 1.28 2005-10-27 08:58:41 obarthel Exp $
|
||||
* $Id: stdlib_main.c,v 1.29 2005-12-31 12:23:54 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -571,28 +571,3 @@ _main(void)
|
||||
|
||||
return(return_code);
|
||||
}
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
/* The following is automatically called by the main() function through code
|
||||
inserted by GCC. In theory, this could be removed by updating the machine
|
||||
definition, but for now we'll just keep this stub around. It is intended
|
||||
to call the constructor functions, but we do this in our own _main()
|
||||
anyway. */
|
||||
|
||||
#if defined(__GNUC__)
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
void __main(void);
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
void
|
||||
__main(void)
|
||||
{
|
||||
}
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
Reference in New Issue
Block a user