diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/sysd-stdio.c | 6 | ||||
-rw-r--r-- | sysdeps/mach/hurd/sysd-stdio.c | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/sysdeps/generic/sysd-stdio.c b/sysdeps/generic/sysd-stdio.c index da8ed20bed..479f15208c 100644 --- a/sysdeps/generic/sysd-stdio.c +++ b/sysdeps/generic/sysd-stdio.c @@ -26,6 +26,12 @@ #include <fcntl.h> #include <unistd.h> +extern __io_read_fn __stdio_read; +extern __io_write_fn __stdio_write; +extern __io_seek_fn __stdio_seek; +extern __io_close_fn __stdio_close; +extern __io_fileno_fn __stdio_fileno; + /* Read N bytes into BUF from COOKIE. */ int __stdio_read (void *cookie, char *buf, size_t n) diff --git a/sysdeps/mach/hurd/sysd-stdio.c b/sysdeps/mach/hurd/sysd-stdio.c index 9d56473924..d12804a4a0 100644 --- a/sysdeps/mach/hurd/sysd-stdio.c +++ b/sysdeps/mach/hurd/sysd-stdio.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1994, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,9 +23,14 @@ #include <fcntl.h> #include <hurd/fd.h> -/* Check ERR for wanting to generate a signal. */ +extern __io_read_fn __stdio_read; +extern __io_write_fn __stdio_write; +extern __io_seek_fn __stdio_seek; +extern __io_close_fn __stdio_close; +extern __io_fileno_fn __stdio_fileno; + -int __stdio_fileno (void *); +/* Check ERR for wanting to generate a signal. */ static inline int fd_fail (struct hurd_fd *fd, error_t err) |