diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-11-01 13:44:12 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-11-01 13:44:12 +0200 |
commit | ea5e3c042b9d6867475df08c95f9181bea21c5f0 (patch) | |
tree | 3763f8dc50f9d3254ab5d03e9aebcd277367ab70 /libgfortran/io/io.h | |
parent | 1f9ed162eb30f1b40b65d164b3a40ac78e1f006e (diff) | |
download | gcc-ea5e3c042b9d6867475df08c95f9181bea21c5f0.zip gcc-ea5e3c042b9d6867475df08c95f9181bea21c5f0.tar.gz gcc-ea5e3c042b9d6867475df08c95f9181bea21c5f0.tar.bz2 |
Cleanup NEWUNIT allocation.
2011-11-01 Janne Blomqvist <jb@gcc.gnu.org>
* io/io.h (next_available_newunit): Remove prototype.
* io/unit.h (next_available_newunit): Make variable static,
initialize it.
(init_units): Don't initialize next_available_newunit.
(get_unique_unit_number): Use atomic builtin if available.
From-SVN: r180734
Diffstat (limited to 'libgfortran/io/io.h')
-rw-r--r-- | libgfortran/io/io.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h index 23f07ca..3569c54 100644 --- a/libgfortran/io/io.h +++ b/libgfortran/io/io.h @@ -576,10 +576,6 @@ gfc_unit; extern gfc_offset max_offset; internal_proto(max_offset); -/* Unit number to be assigned when NEWUNIT is used in an OPEN statement. */ -extern GFC_INTEGER_4 next_available_newunit; -internal_proto(next_available_newunit); - /* Unit tree root. */ extern gfc_unit *unit_root; internal_proto(unit_root); |