diff options
author | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-10-08 18:38:08 +0000 |
---|---|---|
committer | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-10-08 18:38:08 +0000 |
commit | ce7f605ba7d119d7aae336117a306167ede44916 (patch) | |
tree | 58b06149239c7abd2286d05f33155a7c36c1f2b3 /stdio | |
parent | b853ee82a2701bc91a8e5215191901ea37227647 (diff) | |
download | glibc-ce7f605ba7d119d7aae336117a306167ede44916.zip glibc-ce7f605ba7d119d7aae336117a306167ede44916.tar.gz glibc-ce7f605ba7d119d7aae336117a306167ede44916.tar.bz2 |
*** empty log message ***
Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* hurd/ports-get.c (_hurd_ports_get): If the requested port is
null, don't attempt mach_port_mod_refs.
Diffstat (limited to 'stdio')
-rw-r--r-- | stdio/fgets.c | 2 | ||||
-rw-r--r-- | stdio/freopen.c | 2 | ||||
-rw-r--r-- | stdio/getdelim.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/stdio/fgets.c b/stdio/fgets.c index 01d4d9d..4526c70 100644 --- a/stdio/fgets.c +++ b/stdio/fgets.c @@ -101,7 +101,7 @@ fgets (s, n, stream) if (i > n) i = n; - found = (char *) __memccpy ((PTR) p, stream->__bufp, '\n', i); + found = (char *) __memccpy ((void *) p, stream->__bufp, '\n', i); if (found != NULL) { diff --git a/stdio/freopen.c b/stdio/freopen.c index a21d725..cfb72bb 100644 --- a/stdio/freopen.c +++ b/stdio/freopen.c @@ -25,7 +25,7 @@ extern int __getmode __P ((const char *, __io_mode *)); /* Defined in sysd-stdio.c. */ extern int __stdio_reopen __P ((const char *filename, __io_mode mode, - PTR *cookieptr, __io_close_fn closefn)); + void *cookieptr, __io_close_fn closefn)); /* Replace STREAM, opening it on FILENAME. */ FILE * diff --git a/stdio/getdelim.c b/stdio/getdelim.c index 761c798..0a6e561 100644 --- a/stdio/getdelim.c +++ b/stdio/getdelim.c @@ -135,7 +135,8 @@ __getdelim (lineptr, n, terminator, stream) if (i > copy) i = copy; - found = (char *) __memccpy ((PTR) p, stream->__bufp, terminator, i); + found = (char *) __memccpy ((void *) p, stream->__bufp, + terminator, i); if (found != NULL) { stream->__bufp += found - p; |