OSDN Git Service

Cleanup NEWUNIT allocation.
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Nov 2011 11:44:12 +0000 (11:44 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Nov 2011 11:44:12 +0000 (11:44 +0000)
commit87f8f366a7b036cf2d94ea51f4210d8fae8bba9b
tree3763f8dc50f9d3254ab5d03e9aebcd277367ab70
parentefa273f5e98836fe1d9dd6be4200fd4d35db2bf5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180734 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/unit.c