diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-05-14 10:55:51 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-05-14 10:55:51 +0300 |
commit | 1028b2bded33a9ee92db6a1a968258f3ba29aa24 (patch) | |
tree | cd0c97323c6980b35b95ce189ac0bdc597d9c4dc /libgfortran/libgfortran.h | |
parent | b4224aec547b9e01f0b79d65c31c7b6da998b8cd (diff) | |
download | gcc-1028b2bded33a9ee92db6a1a968258f3ba29aa24.zip gcc-1028b2bded33a9ee92db6a1a968258f3ba29aa24.tar.gz gcc-1028b2bded33a9ee92db6a1a968258f3ba29aa24.tar.bz2 |
Error printing thread safety, remove GFORTRAN_USE_STDERR
From-SVN: r173749
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index 6cccaca..ae86a02 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -508,7 +508,7 @@ typedef struct int separator_len; const char *separator; - int use_stderr, all_unbuffered, unbuffered_preconnected, default_recl; + int all_unbuffered, unbuffered_preconnected, default_recl; int fpe, dump_core, backtrace; } options_t; @@ -691,6 +691,16 @@ internal_proto(show_backtrace); extern void sys_exit (int) __attribute__ ((noreturn)); internal_proto(sys_exit); +extern ssize_t estr_write (const char *); +internal_proto(estr_write); + +extern int st_vprintf (const char *, va_list); +internal_proto(st_vprintf); + +extern int st_printf (const char *, ...) + __attribute__((format (gfc_printf, 1, 2))); +internal_proto(st_printf); + extern const char *gfc_xtoa (GFC_UINTEGER_LARGEST, char *, size_t); internal_proto(gfc_xtoa); @@ -792,13 +802,6 @@ internal_proto(close_units); extern int unit_to_fd (int); internal_proto(unit_to_fd); -extern int st_printf (const char *, ...) - __attribute__ ((format (gfc_printf, 1, 2))); -internal_proto(st_printf); - -extern int st_vprintf (const char *, va_list); -internal_proto(st_vprintf); - extern char * filename_from_unit (int); internal_proto(filename_from_unit); |