]> Zhao Yanbai Git Server - minix.git/commitdiff
Enable a few more NetBSD functions 50/3450/1
authorDavid van Moolenbroek <david@minix3.org>
Tue, 14 Feb 2017 22:14:15 +0000 (22:14 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 9 Mar 2017 23:40:09 +0000 (23:40 +0000)
Change-Id: Ia8463adfb12b465bd43a62aee9f14b21eaa13b19

include/unistd.h
lib/libc/compat-43/Makefile.inc
lib/libutil/Makefile

index 874ef57e83706d70a10c644b9ad09ed0b7450d0f..e7ad5c84348e89f206da34df6e7a708127831858 100644 (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) */
index 00e0e8160e2b78b52d48609325e2867c0aca7e7b..a15cf214b9d20c54e9f046ba11661bfbb2bb4ed4 100644 (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
index af15de72776b9481053667669ab43922e6694f85..d1af38fd2553dc1d609438ccddf6252e01464704 100644 (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 \