mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 02:58:58 +08:00
5a276a25c6
Tue May 19 12:50:27 1998 Craig Burley <burley@gnu.org> Break up main() into separate .o's so making and linking against shared libraries with non-Fortran main() routines is easier: * Makefile.in (MISC): Add setarg.o and setsig.o. * libF77/Makefile.in (MISC): Ditto. * libF77/setarg.c: New file, contains f_setarg(). * libF77/setsig.c: New file, contains f_setsig(). * libF77/getarg_.c: Rename xarg* to f__xarg*. * libF77/iargc_.c: Ditto From-SVN: r19956
12 lines
147 B
C
12 lines
147 B
C
#include "f2c.h"
|
|
|
|
#ifdef KR_headers
|
|
ftnint G77_iargc_0 ()
|
|
#else
|
|
ftnint G77_iargc_0 (void)
|
|
#endif
|
|
{
|
|
extern int f__xargc;
|
|
return ( f__xargc - 1 );
|
|
}
|