Commit 008afe51 by Francois-Xavier Coudert Committed by François-Xavier Coudert

* io/unix.c (stream_ttyname): Mark argument as potentialy unused.

From-SVN: r126983
parent 7aa34e7a
2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* io/unix.c (stream_ttyname): Mark argument as potentialy unused.
2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/32035 PR fortran/32035
* runtime/select.c (select_string): Adjust prototype and function * runtime/select.c (select_string): Adjust prototype and function
so that the return value is an integer, not a pointer. so that the return value is an integer, not a pointer.
......
...@@ -1945,7 +1945,7 @@ stream_isatty (stream *s) ...@@ -1945,7 +1945,7 @@ stream_isatty (stream *s)
} }
char * char *
stream_ttyname (stream *s) stream_ttyname (stream *s __attribute__ ((unused)))
{ {
#ifdef HAVE_TTYNAME #ifdef HAVE_TTYNAME
return ttyname (((unix_stream *) s)->fd); return ttyname (((unix_stream *) s)->fd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment