diff options
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index cb3d6589c33..5dd2a51e1e0 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -414,6 +414,11 @@ typedef enum { SILENT, WARNING, ERROR } notification; +/* This is returned by notify_std and several io functions. */ +typedef enum +{ SUCCESS = 1, FAILURE } +try; + /* The filename and line number don't go inside the globals structure. They are set by the rest of the program and must be linked to. */ @@ -492,6 +497,9 @@ internal_proto(translate_error); extern void generate_error (struct st_parameter_common *, int, const char *); internal_proto(generate_error); +extern try notify_std (struct st_parameter_common *, int, const char *); +internal_proto(notify_std); + /* fpu.c */ extern void set_fpu (void); |