Check in two changes I apparently overlooked the last time. "oops"

This commit is contained in:
thorpej 1995-12-08 07:45:31 +00:00
parent 82b57c7135
commit b0ca4831ea
2 changed files with 20 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: hpux_tty.c,v 1.11 1995/10/07 06:26:40 mycroft Exp $ */
/* $NetBSD: hpux_tty.c,v 1.12 1995/12/08 07:45:31 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -469,26 +469,30 @@ hpuxtobsdbaud(hpux_speed)
return(hpuxtobsdbaudtab[hpux_speed & TIO_CBAUD]);
}
#ifdef COMPAT_HPUX_6X
int
compat_hpux_6x_sys_gtty(p, v, retval)
hpux_sys_stty_6x(p, v, retval)
struct proc *p;
void *v;
register_t *retval;
{
struct compat_hpux_6x_sys_gtty_args *uap = v;
struct hpux_sys_stty_6x_args /* {
syscallarg(int) fd;
syscallarg(caddr_t) arg;
} */ *uap = v;
return (getsettty(p, SCARG(uap, fd), HPUXTIOCGETP, SCARG(uap, arg)));
}
int
compat_hpux_6x_sys_stty(p, v, retval)
hpux_sys_gtty_6x(p, v, retval)
struct proc *p;
void *v;
register_t *retval;
{
struct compat_hpux_6x_sys_stty_args *uap = v;
struct hpux_sys_gtty_6x_args /* {
syscallarg(int) fd;
syscallarg(caddr_t) arg;
} */ *uap = v;
return (getsettty(p, SCARG(uap, fd), HPUXTIOCSETP, SCARG(uap, arg)));
}
@ -545,4 +549,3 @@ getsettty(p, fdes, com, cmarg)
}
return (error);
}
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: hpux_util.h,v 1.2 1995/06/24 20:17:57 christos Exp $ */
/* $NetBSD: hpux_util.h,v 1.3 1995/12/08 07:45:34 thorpej Exp $ */
/*
* Copyright (c) 1995 Christos Zoulas
@ -32,6 +32,14 @@
#include <compat/common/compat_util.h>
extern const char hpux_emul_path[];
#define HPUX_CHECK_ALT_EXIST(p, sgp, path) \
CHECK_ALT_EXIST(p, sgp, hpux_emul_path, path)
#define HPUX_CHECK_ALT_CREAT(p, sgp, path) \
CHECK_ALT_CREAT(p, sgp, hpux_emul_path, path)
#ifdef DEBUG_HPUX
#define DPRINTF(a) printf a;
#else