summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/sys_pipe.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index f5a6bb7041a..bc8be79f4d1 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -16,7 +16,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: sys_pipe.c,v 1.3 1996/09/05 12:31:14 mickey Exp $
+ * $Id: sys_pipe.c,v 1.4 1996/10/12 14:34:42 niklas Exp $
*/
#ifndef OLD_PIPE
@@ -169,7 +169,11 @@ sys_pipe(p, v, retval)
#endif
struct proc *p;
void *v;
+#if defined(__FreeBSD__)
int retval[];
+#else /* (__NetBSD__) || (__OpenBSD__) */
+ register_t *retval;
+#endif
{
register struct filedesc *fdp = p->p_fd;
struct file *rf, *wf;