* config/sh/linux-atomic.asm (ATOMIC_BOOL_COMPARE_AND_SWAP,
[official-gcc.git] / libgfortran / fmain.c
blobc59f319f7d8ef24d58925dd480f12603ce23589e
1 #include "libgfortran.h"
3 /* The main Fortran program actually is a function, called MAIN__.
4 We call it from the main() function in this file. */
5 void MAIN__ (void);
7 /* Main procedure for fortran programs. All we do is set up the environment
8 for the Fortran program. */
9 int
10 main (int argc, char *argv[])
12 /* Set up the runtime environment. */
13 set_args (argc, argv);
15 /* Call the Fortran main program. Internally this is a function
16 called MAIN__ */
17 MAIN__ ();
19 /* Bye-bye! */
20 return 0;