diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 14:38:34 +0000 | 
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 14:38:34 +0000 | 
| commit | c836f1ad544d4b57dd1b93c480b7e625f24fb147 (patch) | |
| tree | 97669f5a5ddf6d10280b4d58dc759459c9613a54 /libc/sysdeps/linux/sh/bits/fcntl.h | |
| parent | 0dbf6abb93407b6aa83f8a3b397cafbd3095cfdc (diff) | |
| download | uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.bz2 uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.xz  | |
Synch with trunk @ 24160
Step 14: miscellaneous merge for arch specific
files in libc/sysdeps. Comments, cleanup, formatting,
hidden_proto removal and others.
Diffstat (limited to 'libc/sysdeps/linux/sh/bits/fcntl.h')
| -rw-r--r-- | libc/sysdeps/linux/sh/bits/fcntl.h | 8 | 
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/sh/bits/fcntl.h b/libc/sysdeps/linux/sh/bits/fcntl.h index 0fc129405..570484c2f 100644 --- a/libc/sysdeps/linux/sh/bits/fcntl.h +++ b/libc/sysdeps/linux/sh/bits/fcntl.h @@ -189,8 +189,7 @@ struct flock64  #endif -#ifdef __USE_GNU -#if 0 +#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__  /* Flags for SYNC_FILE_RANGE.  */  # define SYNC_FILE_RANGE_WAIT_BEFORE	1 /* Wait upon writeout of all pages  					     in the range before performing the @@ -201,7 +200,6 @@ struct flock64  # define SYNC_FILE_RANGE_WAIT_AFTER	4 /* Wait upon writeout of all pages in  					     the range after performing the  					     write.  */ -#endif  /* Flags for SPLICE and VMSPLICE.  */  # define SPLICE_F_MOVE		1	/* Move pages instead of copying.  */ @@ -214,18 +212,16 @@ struct flock64  __BEGIN_DECLS -#ifdef __USE_GNU +#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__  /* 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); -#endif  /* Splice address range into a pipe.  */  extern ssize_t vmsplice (int __fdout, const struct iovec *__iov,  | 
