getgrouplist(3): Remove superfluous headers, bogus comment and whitespace
No functional change (intended).
Fixes: a59d6a8724 ("Implementing 'fallback' nsswitch source.")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -29,14 +29,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/*
|
||||
* get credential
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <grp.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ssp/ssp.h>
|
||||
|
||||
extern int __getgroupmembership(const char *, gid_t, gid_t *, int, int *);
|
||||
@@ -46,4 +40,3 @@ __ssp_real(getgrouplist)(const char *uname, gid_t agroup, gid_t *groups, int *gr
|
||||
{
|
||||
return __getgroupmembership(uname, agroup, groups, *grpcnt, grpcnt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user