aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2009-05-26 23:19:57 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2009-05-26 23:19:57 +0200
commit092231a8d635d601a3d05a284f279286f59cab9e (patch)
tree43a6fbb9dd54816b1c1a284ffc7fba3adac67337 /libgfortran/libgfortran.h
parent9a0bab0be682be2aaee5f1146518c4d94d44ac8e (diff)
downloadgcc-092231a8d635d601a3d05a284f279286f59cab9e.zip
gcc-092231a8d635d601a3d05a284f279286f59cab9e.tar.gz
gcc-092231a8d635d601a3d05a284f279286f59cab9e.tar.bz2
re PR fortran/39178 (Generate main() rather than using a main in libgfortran/fmain.c)
fortran/ 2009-05-26 Tobias Burnus <burnus@net-b.de> PR fortran/39178 * gfortranspec.c (lang_specific_driver): Stop linking libgfortranbegin. * trans-decl.c (gfc_build_builtin_function_decls): Stop making MAIN__ publicly visible. (gfc_build_builtin_function_decls): Add gfor_fndecl_set_args. (create_main_function) New function. (gfc_generate_function_code): Use it. libgfortran/ 2009-05-26 Tobias Burnus <burnus@net-b.de> PR fortran/39178 * runtime/main.c (store_exe_path): Make static and multiple-times callable. (set_args): Call store_exe_path. * libgfortran.h: Remove store_exe_path prototype. * fmain.c (main): Remove store_exe_path call. From-SVN: r147883
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index 3591fa9..85b454d 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -610,9 +610,6 @@ export_proto(set_args);
extern void get_args (int *, char ***);
internal_proto(get_args);
-extern void store_exe_path (const char *);
-export_proto(store_exe_path);
-
extern char * full_exe_path (void);
internal_proto(full_exe_path);