diff options
author | Douglas B Rupp <rupp@gnat.com> | 2002-03-11 08:27:46 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2002-03-11 08:27:46 -0500 |
commit | fa2d765a47f69e32c79695d95b866e5f4f33f1e9 (patch) | |
tree | dcb8cb50044c6799ea380c3186057f384c9a6b3b | |
parent | 6f1fd286cd37bee56cfddc555aa13634cf645c24 (diff) | |
download | gcc-fa2d765a47f69e32c79695d95b866e5f4f33f1e9.zip gcc-fa2d765a47f69e32c79695d95b866e5f4f33f1e9.tar.gz gcc-fa2d765a47f69e32c79695d95b866e5f4f33f1e9.tar.bz2 |
* toplev.c (vms_fopen): Remove, not needed.
From-SVN: r50584
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/toplev.c | 23 |
2 files changed, 2 insertions, 23 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b88f64..776a162 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2002-03-11 Douglas B Rupp <rupp@gnat.com> + * toplev.c (vms_fopen): Remove, not needed. + * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. diff --git a/gcc/toplev.c b/gcc/toplev.c index 2e120f8..6530adf 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -92,29 +92,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "halfpic.h" #endif -#ifdef VMS -/* The extra parameters substantially improve the I/O performance. */ - -static FILE * -vms_fopen (fname, type) - char *fname; - char *type; -{ - /* The <stdio.h> in the gcc-vms-1.42 distribution prototypes fopen with two - fixed arguments, which matches ANSI's specification but not VAXCRTL's - pre-ANSI implementation. This hack circumvents the mismatch problem. */ - FILE *(*vmslib_fopen)() = (FILE *(*)()) fopen; - - if (*type == 'w') - return (*vmslib_fopen) (fname, type, "mbc=32", - "deq=64", "fop=tef", "shr=nil"); - else - return (*vmslib_fopen) (fname, type, "mbc=32"); -} - -#define fopen vms_fopen -#endif /* VMS */ - /* Carry information from ASM_DECLARE_OBJECT_NAME to ASM_FINISH_DECLARE_OBJECT. */ |