mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove freebsd32_getdirentries(), it will be unused after the next
commit.
This commit is contained in:
parent
54b4d5e106
commit
a4dcd0ef22
1 changed files with 0 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue