Revert "libutil: add getmaxpartitions() implementation"
This reverts commit 22ad44d6a9fa80d47806bf1897394569b6c15b8a. With the MIB service implemented, this hack is no longer necessary. Change-Id: Ic969c2dcecd6fc9ce283d1dda6518796869875e3
This commit is contained in:
parent
7ecc6a9247
commit
135965dc20
@ -13,7 +13,7 @@ CPPFLAGS+=-DLIBC_SCCS -I${.CURDIR}
|
||||
LINTFLAGS+=-w
|
||||
SRCS+= efun.c \
|
||||
\
|
||||
getfsspecname.c getmntopts.c \
|
||||
getfsspecname.c getmntopts.c getmaxpartitions.c \
|
||||
\
|
||||
\
|
||||
login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
|
||||
@ -35,10 +35,6 @@ MAN= efun.3 \
|
||||
snprintb.3 sockaddr_snprintf.3 stat_flags.3 strpct.3 ttyaction.3 \
|
||||
ttymsg.3 util.3
|
||||
|
||||
.if defined(__MINIX)
|
||||
.include "${NETBSDSRCDIR}/minix/lib/libutil/Makefile.inc"
|
||||
.endif
|
||||
|
||||
YPREFIX=__pd
|
||||
.PATH: ${NETBSDSRCDIR}/lib/libc/gen
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
.PATH: ${NETBSDSRCDIR}/minix/lib/libutil
|
||||
|
||||
SRCS+= getmaxpartitions.c
|
@ -1,6 +0,0 @@
|
||||
#include <machine/partition.h>
|
||||
|
||||
int getmaxpartitions(void)
|
||||
{
|
||||
return NR_PARTITIONS;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user