Date: Thu, 15 Feb 2018 18:31:44 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329332 - head/sys/compat/freebsd32 Message-ID: <201802151831.w1FIViw4097559@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Thu Feb 15 18:31:43 2018 New Revision: 329332 URL: https://svnweb.freebsd.org/changeset/base/329332 Log: Remove freebsd32_getdirentries(), it will be unused after the next commit. Modified: head/sys/compat/freebsd32/freebsd32_misc.c Modified: head/sys/compat/freebsd32/freebsd32_misc.c ============================================================================== --- head/sys/compat/freebsd32/freebsd32_misc.c Thu Feb 15 18:26:45 2018 (r329331) +++ head/sys/compat/freebsd32/freebsd32_misc.c Thu Feb 15 18:31:43 2018 (r329332) @@ -1786,25 +1786,6 @@ freebsd11_freebsd32_getdents(struct thread *td, } #endif /* COMPAT_FREEBSD11 */ -int -freebsd32_getdirentries(struct thread *td, - struct freebsd32_getdirentries_args *uap) -{ - long base; - int32_t base32; - int error; - - error = kern_getdirentries(td, uap->fd, uap->buf, uap->count, &base, - NULL, UIO_USERSPACE); - if (error) - return (error); - if (uap->basep != NULL) { - base32 = base; - error = copyout(&base32, uap->basep, sizeof(int32_t)); - } - return (error); -} - #ifdef COMPAT_FREEBSD6 /* versions with the 'int pad' argument */ int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802151831.w1FIViw4097559>