aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-28 08:11:28 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-28 08:11:28 +0000
commitb14be6fe433de5ece5eb75525943931df11af90f (patch)
treebf08ec9300487e0768098cd229c87bf4469d971d
parentb4431a7270c4e024ce698f5dafdcac10292dcc92 (diff)
downloadglibc-b14be6fe433de5ece5eb75525943931df11af90f.tar
glibc-b14be6fe433de5ece5eb75525943931df11af90f.tar.gz
glibc-b14be6fe433de5ece5eb75525943931df11af90f.tar.bz2
glibc-b14be6fe433de5ece5eb75525943931df11af90f.zip
Update.
2003-06-26 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]: Conditionalize function definitions that use struct kernel_stat. * sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern. * sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern. * sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/unix/sysv/linux/fxstat.c2
-rw-r--r--sysdeps/unix/sysv/linux/lxstat.c3
-rw-r--r--sysdeps/unix/sysv/linux/xstat.c3
-rw-r--r--sysdeps/unix/sysv/linux/xstatconv.h3
5 files changed, 10 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index a791806621..00822dbfba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-06-26 Steven Munroe <sjmunroe@us.ibm.com>
+
+ * sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]:
+ Conditionalize function definitions that use struct kernel_stat.
+ * sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern.
+ * sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern.
+ * sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern.
+
2003-06-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real
diff --git a/sysdeps/unix/sysv/linux/fxstat.c b/sysdeps/unix/sysv/linux/fxstat.c
index 6acafa261b..47c98158b1 100644
--- a/sysdeps/unix/sysv/linux/fxstat.c
+++ b/sysdeps/unix/sysv/linux/fxstat.c
@@ -33,8 +33,6 @@
#include <xstatconv.h>
-extern int __syscall_fstat (int, struct kernel_stat *__unbounded);
-
/* Get information about the file FD in BUF. */
int
__fxstat (int vers, int fd, struct stat *buf)
diff --git a/sysdeps/unix/sysv/linux/lxstat.c b/sysdeps/unix/sysv/linux/lxstat.c
index 156850330e..f49c252367 100644
--- a/sysdeps/unix/sysv/linux/lxstat.c
+++ b/sysdeps/unix/sysv/linux/lxstat.c
@@ -32,9 +32,6 @@
#include <xstatconv.h>
-extern int __syscall_lstat (const char *__unbounded,
- struct kernel_stat *__unbounded);
-
/* Get information about the file NAME in BUF. */
int
__lxstat (int vers, const char *name, struct stat *buf)
diff --git a/sysdeps/unix/sysv/linux/xstat.c b/sysdeps/unix/sysv/linux/xstat.c
index de6a57d7ac..60138ee93d 100644
--- a/sysdeps/unix/sysv/linux/xstat.c
+++ b/sysdeps/unix/sysv/linux/xstat.c
@@ -32,9 +32,6 @@
#include <xstatconv.h>
-extern int __syscall_stat (const char *__unbounded,
- struct kernel_stat *__unbounded);
-
/* Get information about the file NAME in BUF. */
int
__xstat (int vers, const char *name, struct stat *buf)
diff --git a/sysdeps/unix/sysv/linux/xstatconv.h b/sysdeps/unix/sysv/linux/xstatconv.h
index cb5cda0326..387a9feffc 100644
--- a/sysdeps/unix/sysv/linux/xstatconv.h
+++ b/sysdeps/unix/sysv/linux/xstatconv.h
@@ -19,7 +19,8 @@
#include "kernel-features.h"
-
+#ifndef STAT_IS_KERNEL_STAT
extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf);
extern int __xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf);
+#endif
extern int __xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf);