From 3694683be887fdc73733043afc37f177d5de07fa Mon Sep 17 00:00:00 2001 From: mikel Date: Wed, 20 Aug 1997 04:58:41 +0000 Subject: [PATCH] add link from swapon(2) to swapctl(2); from in PR lib/4015 while I'm here, also move swapon.c to a more appropriate spot --- lib/libc/sys/Makefile.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index dd558b98db07..8eb884bb2099 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.61 1997/06/12 22:39:15 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.62 1997/08/20 04:58:41 mikel Exp $ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 # sys sources @@ -11,13 +11,13 @@ SRCS+= Ovfork.S brk.S cerror.S exect.S fork.S pipe.S ptrace.S \ # glue to provide compatibility between GCC 1.X and 2.X and for compat # with old syscall interfaces. -SRCS+= ftruncate.c lseek.c mmap.c semctl.c truncate.c +SRCS+= ftruncate.c lseek.c mmap.c semctl.c swapon.c truncate.c # "stub" POSIX.1b interfaces which return -1 and set errno to ENOSYS, so # we can avoid bumping libc's minor number as functions are added to the # kernel. SRCS+= timer_create.c timer_delete.c timer_gettime.c timer_settime.c \ - timer_getoverrun.c swapon.c + timer_getoverrun.c # modules with default implementations on all architectures: ASM= accept.o access.o acct.o adjtime.o bind.o chdir.o chflags.o chmod.o \ @@ -198,6 +198,7 @@ MLINKS+=setuid.2 setegid.2 setuid.2 seteuid.2 setuid.2 setgid.2 MLINKS+=shmat.2 shmdt.2 MLINKS+=stat.2 fstat.2 stat.2 lstat.2 MLINKS+=statfs.2 fstatfs.2 +MLINKS+=swapctl.2 swapon.2 MLINKS+=syscall.2 __syscall.2 MLINKS+=truncate.2 ftruncate.2 MLINKS+=utimes.2 futimes.2