Use INTDEF for __fxstat.

This commit is contained in:
Ulrich Drepper 2002-04-14 08:37:17 +00:00
parent e60f3fa198
commit 144484daa4

View File

@ -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
@ -23,9 +23,12 @@
extern int fstatx (int fd, struct stat *st, int len, int cmd); extern int fstatx (int fd, struct stat *st, int len, int cmd);
#undef __fxstat
int int
__fxstat (int ver, int fd, struct stat *st) __fxstat (int ver, int fd, struct stat *st)
{ {
assert (ver == 0); assert (ver == 0);
return fstatx (fd, st, sizeof (*st), STX_NORMAL); return fstatx (fd, st, sizeof (*st), STX_NORMAL);
} }
INTDEF(__fxstat)