mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
Use INTDEF for __fxstat.
This commit is contained in:
parent
e60f3fa198
commit
144484daa4
@ -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
|
||||
@ -23,9 +23,12 @@
|
||||
|
||||
extern int fstatx (int fd, struct stat *st, int len, int cmd);
|
||||
|
||||
#undef __fxstat
|
||||
|
||||
int
|
||||
__fxstat (int ver, int fd, struct stat *st)
|
||||
{
|
||||
assert (ver == 0);
|
||||
return fstatx (fd, st, sizeof (*st), STX_NORMAL);
|
||||
}
|
||||
INTDEF(__fxstat)
|
||||
|
Loading…
Reference in New Issue
Block a user