diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-09-10 02:21:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-09-10 02:21:57 +0000 |
commit | 88d96586814dd4f4ca9ea1160506ee351bf60e7b (patch) | |
tree | 733cac2c9cd665535d542ea8f0a62b4e75504e25 /sys | |
parent | 7a10f57313678474bbea7dac7a1da9438bbcd6e0 (diff) |
delete compat_o48_sys_getdirentries; ok guenther
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index b8ccd2b94d6..a408f1dded4 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.187 2012/07/11 23:07:19 guenther Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.188 2012/09/10 02:21:56 deraadt Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -2766,29 +2766,6 @@ sys_getdirentries(struct proc *p, void *v, register_t *retval) return error; } -#ifdef COMPAT_O48 -int -compat_o48_sys_getdirentries(struct proc *p, void *v, register_t *retval) -{ - struct compat_o48_sys_getdirentries_args /* { - syscallarg(int) fd; - syscallarg(char *) buf; - syscallarg(int) count; - syscallarg(long *) basep; - } */ *uap = v; - int error; - off_t off; - - error = getdirentries_internal(p, SCARG(uap, fd), SCARG(uap, buf), - SCARG(uap, count), &off, retval); - if (!error) { - long loff = (long)off; - error = copyout(&loff, SCARG(uap, basep), sizeof(long)); - } - return error; -} -#endif - /* * Set the mode mask for creation of filesystem nodes. */ |