Remove unused empty_internal_buffer function
From-SVN: r166276
This commit is contained in:
parent
92d54f6df5
commit
576e00858c
|
@ -1,3 +1,8 @@
|
||||||
|
2010-11-03 Janne Blomqvist <jb@gcc.gnu.org>
|
||||||
|
|
||||||
|
* io/unix.h: Remove empty_internal_buffer prototype.
|
||||||
|
* io/unix.c (empty_internal_buffer): Remove unused function.
|
||||||
|
|
||||||
2010-11-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
2010-11-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||||
|
|
||||||
PR libgfortran/43899
|
PR libgfortran/43899
|
||||||
|
|
|
@ -849,15 +849,6 @@ mem_close (unix_stream * s)
|
||||||
define functional equivalents of the following.
|
define functional equivalents of the following.
|
||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
|
|
||||||
/* empty_internal_buffer()-- Zero the buffer of Internal file */
|
|
||||||
|
|
||||||
void
|
|
||||||
empty_internal_buffer(stream *strm)
|
|
||||||
{
|
|
||||||
unix_stream * s = (unix_stream *) strm;
|
|
||||||
memset(s->buffer, ' ', s->file_length);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* open_internal()-- Returns a stream structure from a character(kind=1)
|
/* open_internal()-- Returns a stream structure from a character(kind=1)
|
||||||
internal file */
|
internal file */
|
||||||
|
|
||||||
|
|
|
@ -189,9 +189,6 @@ internal_proto(is_special);
|
||||||
extern void flush_if_preconnected (stream *);
|
extern void flush_if_preconnected (stream *);
|
||||||
internal_proto(flush_if_preconnected);
|
internal_proto(flush_if_preconnected);
|
||||||
|
|
||||||
extern void empty_internal_buffer(stream *);
|
|
||||||
internal_proto(empty_internal_buffer);
|
|
||||||
|
|
||||||
extern int stream_isatty (stream *);
|
extern int stream_isatty (stream *);
|
||||||
internal_proto(stream_isatty);
|
internal_proto(stream_isatty);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue