Use INTDEF for __fxstat64.

This commit is contained in:
Ulrich Drepper 2002-04-14 08:38:17 +00:00
parent 144484daa4
commit 9155b112e9

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.
The GNU C Library is free software; you can redistribute it and/or
@ -22,11 +22,16 @@
#define STX_NORMAL 0x00
#define STX_64 0x08
#undef __fxstat64
extern int fstatx (int fd, struct stat64 *st, int len, int cmd);
#undef __fxstat64
int
__fxstat64 (int ver, int fd, struct stat64 *st)
{
assert (ver == 0);
return fstatx (fd, st, sizeof (*st), STX_NORMAL | STX_64);
}
INTDEF(__fxstat64)