Skip to content

Commit

Permalink
Enable a few more NetBSD functions
Browse files Browse the repository at this point in the history
Change-Id: Ia8463adfb12b465bd43a62aee9f14b21eaa13b19
  • Loading branch information
dcvmoole committed Mar 9, 2017
1 parent e6dabba commit 08cbf5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down
9 changes: 4 additions & 5 deletions lib/libc/compat-43/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/libutil/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 08cbf5a

Please sign in to comment.