]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use C99 bool instead of enum try.
authorJanne Blomqvist <jb@gcc.gnu.org>
Tue, 19 Mar 2013 11:13:32 +0000 (13:13 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Tue, 19 Mar 2013 11:13:32 +0000 (13:13 +0200)
commitf5e3ed2d42244eae5a54bc22642a9bbf6be5dd32
treedcc5c9502972eb9dff14e321035a33826c97e179
parent7469b1dc52d5cbd23c0b6e998adfe159c5034b28
Use C99 bool instead of enum try.

2013-03-19  Janne Blomqvist  <jb@gcc.gnu.org>

* libgfortran.h: Include stdbool.h.
(enum try): Remove.
(notify_std): Change return type to bool.
* intrinsics/chmod.c: Don't include stdbool.h.
* intrinsics/execute_command_line.c: Likewise.
* io/format.c: Likewise.
* io/list_read.c (nml_parse_qualifier): Change return type to bool.
(nml_read_obj): Likewise.
(nml_get_obj_data): Likewise.
* io/transfer.c (read_block_form): Fix comment.
(write_buf): Change return type to bool.
* io/write.c: Don't include stdbool.h.
* io/write_float.def (output_float): Change return type to bool.
(output_float_FMT_G_ ## x): Change type of result variable.
* runtime/error.c (notify_std): Change return type to bool.

From-SVN: r196791
libgfortran/ChangeLog
libgfortran/intrinsics/chmod.c
libgfortran/intrinsics/execute_command_line.c
libgfortran/io/format.c
libgfortran/io/list_read.c
libgfortran/io/transfer.c
libgfortran/io/write.c
libgfortran/io/write_float.def
libgfortran/libgfortran.h
libgfortran/runtime/error.c