]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove unused empty_internal_buffer function
authorJanne Blomqvist <jb@gcc.gnu.org>
Wed, 3 Nov 2010 20:49:31 +0000 (22:49 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Wed, 3 Nov 2010 20:49:31 +0000 (22:49 +0200)
From-SVN: r166276

libgfortran/ChangeLog
libgfortran/io/unix.c
libgfortran/io/unix.h

index 78589f5fd2c74b1dc167ffb9a50292699dc11918..8e6673839d095345f83ca282ccec4e43d38619b1 100644 (file)
@@ -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>
 
        PR libgfortran/43899
index a2903af1b55992320047fdb5d5cbd1786bcba9e6..67d8eb9412099afe4607b403f28983a7806bb882 100644 (file)
@@ -849,15 +849,6 @@ mem_close (unix_stream * s)
   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)
    internal file */
 
index dc433d75a8ae01ad9dc6b0528e53849e8128d8a3..956c011bded2c443b0447772710f6f32b6fdf462 100644 (file)
@@ -189,9 +189,6 @@ internal_proto(is_special);
 extern void flush_if_preconnected (stream *);
 internal_proto(flush_if_preconnected);
 
-extern void empty_internal_buffer(stream *);
-internal_proto(empty_internal_buffer);
-
 extern int stream_isatty (stream *);
 internal_proto(stream_isatty);