diff options
author | Roland McGrath <roland@gnu.org> | 2006-01-05 12:25:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-01-05 12:25:42 +0000 |
commit | 0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5 (patch) | |
tree | ab5d5b8a656112df06349e544c00138f12a88246 /time/sys | |
parent | c90c5d4106a2903a40cc3213f8d172e5c6c7ffd6 (diff) | |
download | glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.zip glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.tar.gz glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.tar.bz2 |
* include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
it or _GNU_SOURCE is defined.
* io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
[__USE_GNU].
* libio/stdio.h: Likewise.
* posix/unistd.h: Likewise.
* time/sys/time.h: Likewise.
Diffstat (limited to 'time/sys')
-rw-r--r-- | time/sys/time.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/time/sys/time.h b/time/sys/time.h index 96649ff..177696b 100644 --- a/time/sys/time.h +++ b/time/sys/time.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1991-1994,1996-2002,2003,2005 Free Software Foundation, Inc. +/* Copyright (C) 1991-1994,1996-2002,2003,2005,2006 + 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 @@ -148,7 +149,7 @@ extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) extern int futimes (int __fd, __const struct timeval __tvp[2]) __THROW; #endif -#ifdef __USE_GNU +#ifdef __USE_ATFILE /* Change the access time of FILE relative to FD to TVP[0] and the modification time of FILE to TVP[1]. If TVP is a null pointer, use the current time instead. Returns 0 on success, -1 on errors. */ |