mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-29 06:44:27 +08:00
io.h (is_preconnected): Remove prototype.
2009-04-17 Janne Blomqvist <jb@gcc.gnu.org> * io/io.h (is_preconnected): Remove prototype. * io/unix.c (is_preconnected): Remove function. From-SVN: r146287
This commit is contained in:
parent
9e3be88910
commit
4e23895d6a
@ -1,3 +1,8 @@
|
||||
2009-04-17 Janne Blomqvist <jb@gcc.gnu.org>
|
||||
|
||||
* io/io.h (is_preconnected): Remove prototype.
|
||||
* io/unix.c (is_preconnected): Remove function.
|
||||
|
||||
2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* configure.ac: Test for -ffunction-sections -fdata-sections and
|
||||
|
@ -773,9 +773,6 @@ internal_proto(is_seekable);
|
||||
extern int is_special (stream *);
|
||||
internal_proto(is_special);
|
||||
|
||||
extern int is_preconnected (stream *);
|
||||
internal_proto(is_preconnected);
|
||||
|
||||
extern void flush_if_preconnected (stream *);
|
||||
internal_proto(flush_if_preconnected);
|
||||
|
||||
|
@ -190,17 +190,6 @@ fix_fd (int fd)
|
||||
return fd;
|
||||
}
|
||||
|
||||
int
|
||||
is_preconnected (stream * s)
|
||||
{
|
||||
int fd;
|
||||
|
||||
fd = ((unix_stream *) s)->fd;
|
||||
if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* If the stream corresponds to a preconnected unit, we flush the
|
||||
corresponding C stream. This is bugware for mixed C-Fortran codes
|
||||
|
Loading…
Reference in New Issue
Block a user