summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscallsubr.h
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2014-10-21 23:08:46 +0000
committermjg <mjg@FreeBSD.org>2014-10-21 23:08:46 +0000
commit4386bf043d1b3107a4a480ad90128e1246fdb07c (patch)
tree806954c654a0a29f158c5e1a3760529fba986938 /sys/sys/syscallsubr.h
parentaf449b2b721af52b6671674857bca812e30f3f8a (diff)
downloadFreeBSD-src-4386bf043d1b3107a4a480ad90128e1246fdb07c.zip
FreeBSD-src-4386bf043d1b3107a4a480ad90128e1246fdb07c.tar.gz
Eliminate unnecessary memory allocation in sys_getgroups and its ibcs2 counterpart.
Diffstat (limited to 'sys/sys/syscallsubr.h')
-rw-r--r--sys/sys/syscallsubr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index 05e9be8..7098c43 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -109,7 +109,6 @@ int kern_getdirentries(struct thread *td, int fd, char *buf, u_int count,
long *basep, ssize_t *residp, enum uio_seg bufseg);
int kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize,
enum uio_seg bufseg, int flags);
-int kern_getgroups(struct thread *td, u_int *ngrp, gid_t *groups);
int kern_getitimer(struct thread *, u_int, struct itimerval *);
int kern_getppid(struct thread *);
int kern_getpeername(struct thread *td, int fd, struct sockaddr **sa,
OpenPOWER on IntegriCloud