summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-misc.c4
-rw-r--r--openbsd-compat/bsd-misc.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index 680375ce6..fa48afea9 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -24,7 +24,7 @@
24 24
25#include "includes.h" 25#include "includes.h"
26 26
27RCSID("$Id: bsd-misc.c,v 1.7 2002/06/12 16:57:15 mouring Exp $"); 27RCSID("$Id: bsd-misc.c,v 1.8 2002/06/13 21:34:58 mouring Exp $");
28 28
29char *get_progname(char *argv0) 29char *get_progname(char *argv0)
30{ 30{
@@ -123,7 +123,7 @@ int truncate (const char *path, off_t length)
123 * Cygwin setgroups should be a noop. 123 * Cygwin setgroups should be a noop.
124 */ 124 */
125int 125int
126setgroups(size_t size, const git_t *list) 126setgroups(size_t size, const gid_t *list)
127{ 127{
128 return 0; 128 return 0;
129} 129}
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index aff231733..981196044 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -22,7 +22,7 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25/* $Id: bsd-misc.h,v 1.5 2002/06/12 16:57:15 mouring Exp $ */ 25/* $Id: bsd-misc.h,v 1.6 2002/06/13 21:34:58 mouring Exp $ */
26 26
27#ifndef _BSD_MISC_H 27#ifndef _BSD_MISC_H
28#define _BSD_MISC_H 28#define _BSD_MISC_H
@@ -77,7 +77,7 @@ int truncate (const char *path, off_t length);
77#endif /* HAVE_TRUNCATE */ 77#endif /* HAVE_TRUNCATE */
78 78
79#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP) 79#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP)
80int setgroups(size_t size, const git_t *list); 80int setgroups(size_t size, const gid_t *list);
81#endif 81#endif
82 82
83 83