summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc/bits
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:55:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:55:31 +0000
commitfd3d1f95c064938e5beea8d502b77b44fdb4fcb6 (patch)
tree05120f4fcab96a1c78d02f1739e38b30a45044a9 /libc/sysdeps/linux/sparc/bits
parenta948c819f8aed4817317055c68ea97d4f940ed29 (diff)
downloaduClibc-alpine-fd3d1f95c064938e5beea8d502b77b44fdb4fcb6.tar.bz2
uClibc-alpine-fd3d1f95c064938e5beea8d502b77b44fdb4fcb6.tar.xz
- Remove linux-specific prototypes if asked to. (r24051 from trunk)
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits')
-rw-r--r--libc/sysdeps/linux/sparc/bits/fcntl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/fcntl.h b/libc/sysdeps/linux/sparc/bits/fcntl.h
index 5739459b0..29c09a957 100644
--- a/libc/sysdeps/linux/sparc/bits/fcntl.h
+++ b/libc/sysdeps/linux/sparc/bits/fcntl.h
@@ -208,7 +208,7 @@ struct flock64
#endif
-#ifdef __USE_GNU
+#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
@@ -231,7 +231,7 @@ 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)