about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-10-08 18:38:08 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-10-08 18:38:08 +0000
commitce7f605ba7d119d7aae336117a306167ede44916 (patch)
tree58b06149239c7abd2286d05f33155a7c36c1f2b3 /sysdeps/unix
parentb853ee82a2701bc91a8e5215191901ea37227647 (diff)
downloadglibc-ce7f605ba7d119d7aae336117a306167ede44916.tar.gz
glibc-ce7f605ba7d119d7aae336117a306167ede44916.tar.xz
glibc-ce7f605ba7d119d7aae336117a306167ede44916.zip
*** 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 'sysdeps/unix')
-rw-r--r--sysdeps/unix/bsd/tcflow.c4
-rw-r--r--sysdeps/unix/bsd/tcflush.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/bsd/tcflow.c b/sysdeps/unix/bsd/tcflow.c
index 1919d6d9ea..04895a0648 100644
--- a/sysdeps/unix/bsd/tcflow.c
+++ b/sysdeps/unix/bsd/tcflow.c
@@ -32,9 +32,9 @@ tcflow (fd, action)
   switch (action)
     {
     case TCOOFF:
-      return __ioctl (fd, TIOCSTOP, (PTR) NULL);
+      return __ioctl (fd, TIOCSTOP, (void *) NULL);
     case TCOON:
-      return __ioctl (fd, TIOCSTART, (PTR) NULL);
+      return __ioctl (fd, TIOCSTART, (void *) NULL);
 
     case TCIOFF:
     case TCION:
diff --git a/sysdeps/unix/bsd/tcflush.c b/sysdeps/unix/bsd/tcflush.c
index 14f7db8dad..9806aaf435 100644
--- a/sysdeps/unix/bsd/tcflush.c
+++ b/sysdeps/unix/bsd/tcflush.c
@@ -47,5 +47,5 @@ tcflush (fd, queue_selector)
       return -1;
     }
 
-  return __ioctl (fd, TIOCFLUSH, (PTR) &arg);
+  return __ioctl (fd, TIOCFLUSH, (void *) &arg);
 }