mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
Use INTDEF for __fxstat64.
This commit is contained in:
parent
144484daa4
commit
9155b112e9
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -22,11 +22,16 @@
|
|||||||
#define STX_NORMAL 0x00
|
#define STX_NORMAL 0x00
|
||||||
#define STX_64 0x08
|
#define STX_64 0x08
|
||||||
|
|
||||||
|
#undef __fxstat64
|
||||||
|
|
||||||
extern int fstatx (int fd, struct stat64 *st, int len, int cmd);
|
extern int fstatx (int fd, struct stat64 *st, int len, int cmd);
|
||||||
|
|
||||||
|
#undef __fxstat64
|
||||||
|
|
||||||
int
|
int
|
||||||
__fxstat64 (int ver, int fd, struct stat64 *st)
|
__fxstat64 (int ver, int fd, struct stat64 *st)
|
||||||
{
|
{
|
||||||
assert (ver == 0);
|
assert (ver == 0);
|
||||||
return fstatx (fd, st, sizeof (*st), STX_NORMAL | STX_64);
|
return fstatx (fd, st, sizeof (*st), STX_NORMAL | STX_64);
|
||||||
}
|
}
|
||||||
|
INTDEF(__fxstat64)
|
||||||
|
Loading…
Reference in New Issue
Block a user