aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-25 10:11:50 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-25 10:11:50 +0000
commit87d2f3f00a4ca5d693855a7202ec0036dd8b23a6 (patch)
tree67335fa5f716a7bb72f236bb7b211f55f6e094c0 /sysdeps/generic
parent2da161d47ec70b963b50bcce16e63c67bc9b0706 (diff)
downloadglibc-87d2f3f00a4ca5d693855a7202ec0036dd8b23a6.zip
glibc-87d2f3f00a4ca5d693855a7202ec0036dd8b23a6.tar.gz
glibc-87d2f3f00a4ca5d693855a7202ec0036dd8b23a6.tar.bz2
Update.
* sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and make old name weak alias. * sysdeps/generic/statvfs64.c: Likewise. * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and make old name weak alias. * sysdeps/generic/fstatvfs64.c: Likewise. * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/fstatvfs64.c5
-rw-r--r--sysdeps/generic/statvfs64.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/generic/fstatvfs64.c b/sysdeps/generic/fstatvfs64.c
index c7efc0c..a2aa513 100644
--- a/sysdeps/generic/fstatvfs64.c
+++ b/sysdeps/generic/fstatvfs64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,12 @@
/* Return information about the filesystem on which FD resides. */
int
-fstatvfs64 (int fd, struct statvfs64 *buf)
+__fstatvfs64 (int fd, struct statvfs64 *buf)
{
__set_errno (ENOSYS);
return -1;
}
+weak_alias (__fstatvfs64, fstatvfs64)
stub_warning (fstatvfs64)
#include <stub-tag.h>
diff --git a/sysdeps/generic/statvfs64.c b/sysdeps/generic/statvfs64.c
index b9c19ad..42f7928 100644
--- a/sysdeps/generic/statvfs64.c
+++ b/sysdeps/generic/statvfs64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,12 @@
/* Return information about the filesystem on which FILE resides. */
int
-statvfs64 (const char *file, struct statvfs64 *buf)
+__statvfs64 (const char *file, struct statvfs64 *buf)
{
__set_errno (ENOSYS);
return -1;
}
+weak_alias (__statvfs64, statvfs64)
stub_warning (statvfs64)
#include <stub-tag.h>