mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-07 13:28:05 +08:00
Use INTDEF for __lxstat.
This commit is contained in:
parent
0e36d9d57e
commit
2093a68877
@ -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.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -21,6 +21,8 @@
|
||||
|
||||
#define STX_LINK 0x01
|
||||
|
||||
#undef __lxstat
|
||||
|
||||
extern int statx (const char *pathname, struct stat *st, int len, int cmd);
|
||||
|
||||
int
|
||||
@ -29,3 +31,5 @@ __lxstat (int ver, const char *pathname, struct stat *st)
|
||||
assert (ver == 0);
|
||||
return statx (pathname, st, sizeof (*st), STX_LINK);
|
||||
}
|
||||
|
||||
INTDEF(__lxstat)
|
||||
|
Loading…
Reference in New Issue
Block a user