summaryrefslogtreecommitdiff
path: root/openbsd-compat/getgrouplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/getgrouplist.c')
-rw-r--r--openbsd-compat/getgrouplist.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/openbsd-compat/getgrouplist.c b/openbsd-compat/getgrouplist.c
index 085cda8c3..f7a27c339 100644
--- a/openbsd-compat/getgrouplist.c
+++ b/openbsd-compat/getgrouplist.c
@@ -10,7 +10,11 @@
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the 11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution. 12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of the University nor the names of its contributors 13 * 3. All advertising materials mentioning features or use of this software
14 * must display the following acknowledgement:
15 * This product includes software developed by the University of
16 * California, Berkeley and its contributors.
17 * 4. Neither the name of the University nor the names of its contributors
14 * may be used to endorse or promote products derived from this software 18 * may be used to endorse or promote products derived from this software
15 * without specific prior written permission. 19 * without specific prior written permission.
16 * 20 *
@@ -32,7 +36,7 @@
32#ifndef HAVE_GETGROUPLIST 36#ifndef HAVE_GETGROUPLIST
33 37
34#if defined(LIBC_SCCS) && !defined(lint) 38#if defined(LIBC_SCCS) && !defined(lint)
35static char rcsid[] = "$OpenBSD: getgrouplist.c,v 1.9 2003/06/25 21:16:47 deraadt Exp $"; 39static char rcsid[] = "$OpenBSD: getgrouplist.c,v 1.7 1997/08/19 19:13:27 deraadt Exp $";
36#endif /* LIBC_SCCS and not lint */ 40#endif /* LIBC_SCCS and not lint */
37 41
38/* 42/*
@@ -40,7 +44,6 @@ static char rcsid[] = "$OpenBSD: getgrouplist.c,v 1.9 2003/06/25 21:16:47 deraad
40 */ 44 */
41#include <sys/types.h> 45#include <sys/types.h>
42#include <string.h> 46#include <string.h>
43#include <unistd.h>
44#include <grp.h> 47#include <grp.h>
45 48
46int 49int