diff options
author | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-14 07:55:51 +0000 |
---|---|---|
committer | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-14 07:55:51 +0000 |
commit | abe12f3ee643ba6397424e0f6bc1e7c661e9d05c (patch) | |
tree | cd0c97323c6980b35b95ce189ac0bdc597d9c4dc /libgfortran/libgfortran.h | |
parent | 96cb28340343e35fc361b061ad2c55336ef613c7 (diff) | |
download | gcc-abe12f3ee643ba6397424e0f6bc1e7c661e9d05c.tar.gz |
Error printing thread safety, remove GFORTRAN_USE_STDERR
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173749 138bc75d-0d04-0410-961f-82ee72b054a4
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 6cccacadabe..ae86a021ee3 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); |