summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-03-22 19:18:43 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-03-22 19:18:43 +0000
commit2068db5ce3fd5591f587c184b5e88f45b8f8328d (patch)
treeb3a8fbcd737e5223a58c00b81a87f0a10e9b7730
parent8a3788f16668826aaed4f977cbcb571dcdcb1d02 (diff)
move statvfs.c to gen, since it is not a syscall; ok deraadt@
-rw-r--r--lib/libc/gen/Makefile.inc15
-rw-r--r--lib/libc/gen/statvfs.c (renamed from lib/libc/sys/statvfs.c)2
-rw-r--r--lib/libc/sys/Makefile.inc4
3 files changed, 11 insertions, 10 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index af58fcf77c2..8db506298ff 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.39 2005/10/03 10:57:16 jmc Exp $
+# $OpenBSD: Makefile.inc,v 1.40 2008/03/22 19:18:42 otto Exp $
# gen sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/gen ${LIBCSRCDIR}/gen
@@ -16,8 +16,8 @@ SRCS+= alarm.c assert.c auth_subr.c authenticate.c \
raise.c readdir.c readpassphrase.c rewinddir.c scandir.c \
seekdir.c setdomainname.c sethostname.c setjmperr.c setmode.c \
setproctitle.c siginterrupt.c siglist.c signal.c signame.c \
- sigsetops.c sleep.c strtofflags.c sysconf.c sysctl.c syslog.c \
- telldir.c time.c times.c timezone.c tolower_.c ttyname.c \
+ sigsetops.c sleep.c statvfs.c strtofflags.c sysconf.c sysctl.c \
+ syslog.c telldir.c time.c times.c timezone.c tolower_.c ttyname.c \
ttyslot.c toupper_.c ualarm.c uname.c unvis.c usleep.c \
utime.c valloc.c vis.c wait.c wait3.c waitpid.c warn.c \
warnx.c vwarn.c vwarnx.c verr.c verrx.c
@@ -55,10 +55,10 @@ MAN+= alarm.3 auth_subr.3 authenticate.3 basename.3 clock.3 confstr.3 \
isprint.3 ispunct.3 isspace.3 isupper.3 isxdigit.3 ldexp.3 lockf.3 \
login_cap.3 modf.3 nice.3 nlist.3 pause.3 popen.3 psignal.3 pw_dup.3 \
pwcache.3 raise.3 readpassphrase.3 scandir.3 setjmp.3 setmode.3 \
- setproctitle.3 siginterrupt.3 signal.3 sigsetops.3 sleep.3 sysconf.3 \
- sysctl.3 strtofflags.3 syslog.3 time.3 times.3 timezone.3 toascii.3 \
- tolower.3 toupper.3 ttyname.3 ualarm.3 uname.3 unvis.3 usleep.3 \
- utime.3 valloc.3 vis.3
+ setproctitle.3 siginterrupt.3 signal.3 sigsetops.3 sleep.3 statvfs.3 \
+ sysconf.3 sysctl.3 strtofflags.3 syslog.3 time.3 times.3 timezone.3 \
+ toascii.3 tolower.3 toupper.3 ttyname.3 ualarm.3 uname.3 unvis.3 \
+ usleep.3 utime.3 valloc.3 vis.3
MLINKS+=auth_subr.3 auth_open.3 auth_subr.3 auth_call.3 auth_subr.3 \
auth_challenge.3 auth_subr.3 auth_check_change.3 auth_subr.3 \
@@ -123,6 +123,7 @@ MLINKS+=setmode.3 getmode.3
MLINKS+=sigsetops.3 sigemptyset.3 sigsetops.3 sigfillset.3 \
sigsetops.3 sigaddset.3 sigsetops.3 sigdelset.3 \
sigsetops.3 sigismember.3
+MLINKS+=statvfs.3 fstatvfs.3
MLINKS+=strtofflags.3 fflagstostr.3
MLINKS+=syslog.3 closelog.3 syslog.3 openlog.3 syslog.3 setlogmask.3 \
syslog.3 vsyslog.3 syslog.3 syslog_r.3 syslog.3 closelog_r.3 \
diff --git a/lib/libc/sys/statvfs.c b/lib/libc/gen/statvfs.c
index 34256b32a80..f4f7807b3cf 100644
--- a/lib/libc/sys/statvfs.c
+++ b/lib/libc/gen/statvfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: statvfs.c,v 1.2 2008/03/16 19:46:14 deraadt Exp $ */
+/* $OpenBSD: statvfs.c,v 1.1 2008/03/22 19:18:42 otto Exp $ */
/*
* Copyright (c) 2008 Otto Moerbeek <otto@drijf.net>
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 87c98516d2e..3813096d112 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.84 2008/03/16 19:44:34 otto Exp $
+# $OpenBSD: Makefile.inc,v 1.85 2008/03/22 19:18:42 otto Exp $
# $NetBSD: Makefile.inc,v 1.35 1995/10/16 23:49:07 jtc Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/17/93
@@ -27,7 +27,7 @@ DPSRCS+= Lint_Ovfork.c Lint_brk.c Lint_exect.c Lint_fork.c \
# with old syscall interfaces.
SRCS+= ftruncate.c lseek.c mquery.c mmap.c ptrace.c semctl.c truncate.c \
timer_create.c timer_delete.c timer_getoverrun.c timer_gettime.c \
- timer_settime.c pread.c preadv.c pwrite.c pwritev.c statvfs.c
+ timer_settime.c pread.c preadv.c pwrite.c pwritev.c
# stack protector helper functions
SRCS+= stack_protector.c