]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Fri, 4 Sep 1998 10:57:56 +0000 (10:57 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 4 Sep 1998 10:57:56 +0000 (10:57 +0000)
* 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.

ChangeLog
sysdeps/generic/sysd-stdio.c
sysdeps/mach/hurd/sysd-stdio.c

index 929c41ae3323c51f6597ed2ecb9f97fba1d5d1ef..66c58c2bc907d9e4e76ae519bade9b62403a1c3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
 
        * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
index da8ed20bed77943dbce25b373f0d5cbc0f9f78bf..479f15208ce844762f4c805514b5d10bd0f232bd 100644 (file)
 #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)
index 9d5647392402d788c6e4b7d911ec5957e8ef15dd..d12804a4a066bc65a1d9bac50c79237b7a0ca08d 100644 (file)
@@ -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
 #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)