From 8642946bd00e0c6dff9f08d84a63d32ce6648538 Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy Date: Wed, 2 Jun 2010 10:27:16 +0400 Subject: lutimes: add lutimes support This patch adds lutimes library call support. Signed-off-by: Vladimir Zapolskiy Signed-off-by: Bernhard Reutner-Fischer --- include/sys/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/sys/time.h') diff --git a/include/sys/time.h b/include/sys/time.h index 33f5873ee..952e95a30 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -144,14 +144,16 @@ extern int utimes (__const char *__file, __const struct timeval __tvp[2]) __THROW __nonnull ((1)); libc_hidden_proto(utimes) -#if 0 /*def __USE_BSD*/ +#ifdef __USE_BSD /* Same as `utimes', but does not follow symbolic links. */ extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) __THROW __nonnull ((1)); +#if 0 /* Same as `utimes', but takes an open file descriptor instead of a name. */ extern int futimes (int __fd, __const struct timeval __tvp[2]) __THROW; #endif +#endif #ifdef __USE_GNU /* Change the access time of FILE relative to FD to TVP[0] and the -- cgit v1.2.3