mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-11 12:50:58 +08:00
Use INTDEF for __lxstat64.
This commit is contained in:
parent
2093a68877
commit
548fe33d15
@ -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,6 +22,8 @@
|
|||||||
#define STX_LINK 0x01
|
#define STX_LINK 0x01
|
||||||
#define STX_64 0x08
|
#define STX_64 0x08
|
||||||
|
|
||||||
|
#undef __lxstat64
|
||||||
|
|
||||||
extern int statx (const char *pathname, struct stat64 *st, int len, int cmd);
|
extern int statx (const char *pathname, struct stat64 *st, int len, int cmd);
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -30,3 +32,5 @@ __lxstat64 (int ver, const char *pathname, struct stat64 *st)
|
|||||||
assert (ver == 0);
|
assert (ver == 0);
|
||||||
return statx (pathname, st, sizeof (*st), STX_LINK | STX_64);
|
return statx (pathname, st, sizeof (*st), STX_LINK | STX_64);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INTDEF(__lxstat64)
|
||||||
|
Loading…
Reference in New Issue
Block a user