svn commit: trunk/uClibc/libc/sysdeps/linux: alpha/bits arm/bits bfin/bits cris/bits etc...

vapier at uclibc.org vapier at uclibc.org
Thu Aug 24 21:15:58 UTC 2006


Author: vapier
Date: 2006-08-24 14:15:57 -0700 (Thu, 24 Aug 2006)
New Revision: 15985

Log:
fix from psm: enable readahead prototype

Modified:
   trunk/uClibc/libc/sysdeps/linux/alpha/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/arm/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/bfin/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/hppa/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/i386/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/ia64/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/m68k/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/mips/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/nios/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/nios2/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/powerpc/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/sh/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/sparc/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/vax/bits/fcntl.h
   trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/alpha/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/alpha/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/alpha/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -190,13 +190,14 @@
 
 __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);
@@ -213,6 +214,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/arm/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/arm/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/arm/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -206,13 +206,14 @@
 
 __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);
@@ -229,6 +230,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/bfin/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -196,13 +196,14 @@
 
 __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);
@@ -219,6 +220,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -197,13 +197,14 @@
 
 __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);
@@ -220,6 +221,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/hppa/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/hppa/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/hppa/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -195,12 +195,13 @@
 
 __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);
@@ -216,6 +217,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
     
 #endif
     

Modified: trunk/uClibc/libc/sysdeps/linux/i386/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i386/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/i386/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -198,13 +198,14 @@
 
 __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);
@@ -221,6 +222,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/ia64/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/ia64/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/ia64/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -192,13 +192,14 @@
 
 __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);
@@ -215,6 +216,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/m68k/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/m68k/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/m68k/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -196,13 +196,14 @@
 
 __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);
@@ -219,6 +220,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/mips/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/mips/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/mips/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -220,13 +220,14 @@
 
 __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);
@@ -243,6 +244,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/nios/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/nios/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/nios/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -196,13 +196,14 @@
 
 __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);
@@ -219,6 +220,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/nios2/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/nios2/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/nios2/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -196,13 +196,14 @@
 
 __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);
@@ -219,6 +220,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/powerpc/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/powerpc/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/powerpc/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -198,13 +198,14 @@
 
 __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);
@@ -221,6 +222,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/sh/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sh/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/sh/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -198,13 +198,14 @@
 
 __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);
@@ -221,6 +222,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/sparc/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sparc/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/sparc/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -217,13 +217,14 @@
 
 __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);
@@ -240,6 +241,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/vax/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/vax/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/vax/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -167,13 +167,14 @@
 
 __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 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 

Modified: trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h	2006-08-24 20:00:44 UTC (rev 15984)
+++ trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h	2006-08-24 21:15:57 UTC (rev 15985)
@@ -212,13 +212,14 @@
 
 __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);
@@ -235,6 +236,7 @@
 /* In-kernel implementation of tee for pipe buffers.  */
 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;
+#endif
 
 #endif
 




More information about the uClibc-cvs mailing list