summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-09-04 10:57:56 +0000
committerRoland McGrath <roland@gnu.org>1998-09-04 10:57:56 +0000
commit1097c6030a2f99075a259e3b5151122094ab68dc (patch)
tree8ace845f07a8d934aaf1c86acc792f80de8a2911 /sysdeps/mach/hurd
parentf50a53cb0efe72eefce3739d8f2232e7279433f8 (diff)
downloadglibc-1097c6030a2f99075a259e3b5151122094ab68dc.tar.gz
glibc-1097c6030a2f99075a259e3b5151122094ab68dc.tar.xz
glibc-1097c6030a2f99075a259e3b5151122094ab68dc.zip
1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
	* mach/Makefile: Use -include for mach-syscalls.mk to silence warning.

	* sysdeps/mach/hurd/sysd-stdio.c: Declare fns
	__stdio_{read,write,seek,close,fileno} using __io_*_fn types.
	* sysdeps/generic/sysd-stdio.c: Likewise.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/sysd-stdio.c11
1 files changed, 8 insertions, 3 deletions
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)