1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

linux: Consolidate internal_statvfs

Remove the internal_statvfs64.c and open code the implementation
on internal_statvfs.c.  The alpha is now unrequired, the generic
implementation also handles it.

Also, remove unused includes on internal_statvfs.c, and remove
unused arguments on __internal_statvfs{64}.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Adhemerval Zanella
2021-02-07 17:43:02 +00:00
parent 52f527d6f1
commit 1566d3c43f
9 changed files with 59 additions and 40 deletions

View File

@ -18,9 +18,9 @@
#include <sys/statvfs.h>
extern void __internal_statvfs (const char *name, struct statvfs *buf,
struct statfs *fsbuf, int fd)
extern void __internal_statvfs (struct statvfs *buf,
const struct statfs *fsbuf)
attribute_hidden;
extern void __internal_statvfs64 (const char *name, struct statvfs64 *buf,
struct statfs64 *fsbuf, int fd)
extern void __internal_statvfs64 (struct statvfs64 *buf,
const struct statfs64 *fsbuf)
attribute_hidden;