Enable a few more NetBSD functions

Change-Id: Ia8463adfb12b465bd43a62aee9f14b21eaa13b19
This commit is contained in:
David van Moolenbroek 2017-02-14 22:14:15 +00:00
parent e6dabba58b
commit 08cbf5a04d
3 changed files with 6 additions and 7 deletions

View File

@ -281,9 +281,9 @@ int lockf(int, int, off_t);
ssize_t readlink(const char * __restrict, char * __restrict, size_t);
#endif
void *sbrk(intptr_t);
#if !defined(__minix)
/* XXX prototype wrong! */
int setpgrp(pid_t, pid_t); /* obsoleted by setpgid() */
#if !defined(__minix)
int setregid(gid_t, gid_t);
int setreuid(uid_t, uid_t);
#endif /* !defined(__minix) */

View File

@ -2,15 +2,14 @@
# from: @(#)Makefile.inc 8.1 (Berkeley) 6/2/93
# Unsupported by Minix
# gethostid.c \
# sethostid.c setpgrp.c \
# setrgid.c setruid.c sigcompat.c
# setrgid.c setruid.c
# compat-43 sources
.PATH: ${ARCHDIR}/compat-43 ${.CURDIR}/compat-43
SRCS+= creat.c getdtablesize.c \
killpg.c setpgrp.c \
SRCS+= creat.c getdtablesize.c gethostid.c \
killpg.c sethostid.c setpgrp.c \
sigcompat.c
.if !defined(AUDIT)
SRCS+= getwd.c

View File

@ -15,7 +15,7 @@ SRCS+= efun.c \
\
getfsspecname.c getmntopts.c getmaxpartitions.c \
\
\
if_media.c \
login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
logwtmp.c logwtmpx.c opendisk.c parsedate.y \
passwd.c pw_scan.c pidfile.c pidlock.c pty.c \