aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/fmain.c
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-07-06 08:22:34 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-07-06 08:22:34 +0000
commit43cbef95550f95ff267e306f7c9c970323781ef5 (patch)
tree08f15a18f1c22b4bb03d81ec2d3108d86c0046e1 /libgfortran/fmain.c
parente5210c77a10c7d5e33153a58802cbe13981259d2 (diff)
downloadgcc-43cbef95550f95ff267e306f7c9c970323781ef5.zip
gcc-43cbef95550f95ff267e306f7c9c970323781ef5.tar.gz
gcc-43cbef95550f95ff267e306f7c9c970323781ef5.tar.bz2
re PR libfortran/40267 (Eventually get rid of libgfortranbegin.a)
PR libfortran/40267 * Makefile.am: Remove libgfortranbegin targets. * Makefile.in: Regenerate. * fmain.c: Remove. From-SVN: r225445
Diffstat (limited to 'libgfortran/fmain.c')
-rw-r--r--libgfortran/fmain.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/libgfortran/fmain.c b/libgfortran/fmain.c
deleted file mode 100644
index a99263c..0000000
--- a/libgfortran/fmain.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Note that this file is not used as of GFortran 4.5, and exists here
- only for backwards compatibility. */
-
-#include "libgfortran.h"
-
-/* The main Fortran program actually is a function, called MAIN__.
- We call it from the main() function in this file. */
-void MAIN__ (void);
-
-/* Main procedure for fortran programs. All we do is set up the environment
- for the Fortran program. */
-int
-main (int argc, char *argv[])
-{
- /* Set up the runtime environment. */
- set_args (argc, argv);
-
- /* Call the Fortran main program. Internally this is a function
- called MAIN__ */
- MAIN__ ();
-
- /* Bye-bye! */
- return 0;
-}