[Glibc-bsd-commits] r4713 - trunk/glibc-ports/kfreebsd

Petr Salinger ps-guest at alioth.debian.org
Tue Jul 9 19:39:24 UTC 2013


Author: ps-guest
Date: 2013-07-09 19:39:23 +0000 (Tue, 09 Jul 2013)
New Revision: 4713

Modified:
   trunk/glibc-ports/kfreebsd/posix_fallocate.c
Log:
drop Extra PLT reference



Modified: trunk/glibc-ports/kfreebsd/posix_fallocate.c
===================================================================
--- trunk/glibc-ports/kfreebsd/posix_fallocate.c	2013-07-09 19:38:45 UTC (rev 4712)
+++ trunk/glibc-ports/kfreebsd/posix_fallocate.c	2013-07-09 19:39:23 UTC (rev 4713)
@@ -33,7 +33,7 @@
 
 /* Reserve storage for the data of the file associated with FD.  */
 int
-posix_fallocate (int fd, __off_t offset, __off_t len)
+__posix_fallocate (int fd, __off_t offset, __off_t len)
 {
 #ifndef __ASSUME_FALLOCATE
     if (__have_fallocate >= 0)
@@ -57,6 +57,7 @@
     }      
     return internal_fallocate (fd, offset, len);
 }
+strong_alias (__posix_fallocate, posix_fallocate)
 
 /* 'posix_fallocate64' is the same as 'posix_fallocate', because __off64_t == __off_t.  */
 /*  but previous prototype have different size of len parameter */
@@ -70,12 +71,11 @@
 attribute_compat_text_section
 __posix_fallocate64_l32 (int fd, off64_t offset, size_t len)
 {
-  return posix_fallocate (fd, offset, len);
+  return __posix_fallocate (fd, offset, len);
 }
 
-versioned_symbol (libc, posix_fallocate, posix_fallocate64,
-		  GLIBC_2_3_3);
+versioned_symbol (libc, __posix_fallocate, posix_fallocate64, GLIBC_2_3_3);
 compat_symbol (libc, __posix_fallocate64_l32, posix_fallocate64, GLIBC_2_2);
 #else
-strong_alias (posix_fallocate, posix_fallocate64)
+strong_alias (__posix_fallocate, posix_fallocate64)
 #endif




More information about the Glibc-bsd-commits mailing list