diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-12-16 04:54:52 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-12-16 04:54:52 +0000 |
commit | 7dfaf230d2191da71f3078943ea09d014298e7b0 (patch) | |
tree | 11b16e846adf904f804b8ce15937db12d08259d8 /libc/sysdeps/linux/vax | |
parent | 1bcf527f5f8c94aac1b2e80b585898a7266293af (diff) | |
download | uClibc-alpine-7dfaf230d2191da71f3078943ea09d014298e7b0.tar.bz2 uClibc-alpine-7dfaf230d2191da71f3078943ea09d014298e7b0.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/vax')
-rw-r--r-- | libc/sysdeps/linux/vax/bits/fcntl.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/vax/bits/kernel_stat.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/vax/bits/syscalls.h | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/vax/bits/fcntl.h b/libc/sysdeps/linux/vax/bits/fcntl.h index be3e6cc4f..fb72b21fa 100644 --- a/libc/sysdeps/linux/vax/bits/fcntl.h +++ b/libc/sysdeps/linux/vax/bits/fcntl.h @@ -167,13 +167,14 @@ struct flock64 __BEGIN_DECLS -#if 0 /*def __USE_GNU*/ +#ifdef __USE_GNU /* Provide kernel hint to read ahead. */ extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) __THROW; +#if 0 /* Selective file content synch'ing. */ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to, unsigned int __flags); @@ -190,6 +191,7 @@ extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags) /* In-kernel implementation of tee for pipe buffers. */ extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags) __THROW; +#endif #endif diff --git a/libc/sysdeps/linux/vax/bits/kernel_stat.h b/libc/sysdeps/linux/vax/bits/kernel_stat.h index ece9d347b..2b5cb28f2 100644 --- a/libc/sysdeps/linux/vax/bits/kernel_stat.h +++ b/libc/sysdeps/linux/vax/bits/kernel_stat.h @@ -1,6 +1,10 @@ #ifndef _BITS_STAT_STRUCT_H #define _BITS_STAT_STRUCT_H +#ifndef _LIBC +#error bits/kernel_stat.h is for internal uClibc use only! +#endif + /* This file provides whatever this particular arch's kernel thinks * struct stat should look like... It turns out each arch has a * different opinion on the subject... */ diff --git a/libc/sysdeps/linux/vax/bits/syscalls.h b/libc/sysdeps/linux/vax/bits/syscalls.h index f80b40539..101aacb2e 100644 --- a/libc/sysdeps/linux/vax/bits/syscalls.h +++ b/libc/sysdeps/linux/vax/bits/syscalls.h @@ -4,11 +4,6 @@ # error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead." #endif -/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel - * header files. It also defines the traditional `SYS_<name>' macros for older - * programs. */ -#include <bits/sysnum.h> - #ifndef __ASSEMBLER__ #include <errno.h> |