summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/futimens.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
commit290e19f8147d9b3c0166d3520e718ae5603e4cef (patch)
tree3c77d58f8cd8115b861809560e644699341c14ee /libc/sysdeps/linux/common/futimens.c
parent266bdc1f623fe6fe489e5115e0f8ef723705d949 (diff)
drop support for pre ISO-C compilers
This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/common/futimens.c')
-rw-r--r--libc/sysdeps/linux/common/futimens.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/futimens.c b/libc/sysdeps/linux/common/futimens.c
index 0eaf26a4c..b825cf7ac 100644
--- a/libc/sysdeps/linux/common/futimens.c
+++ b/libc/sysdeps/linux/common/futimens.c
@@ -16,13 +16,13 @@
* Note that due to not including the header, we have to alias the call
* manually.
*/
-extern int utimensat (int __fd, __const char *__path,
- __const struct timespec __times[2],
+extern int utimensat (int __fd, const char *__path,
+ const struct timespec __times[2],
int __flags) __THROW;
libc_hidden_proto(utimensat)
-int futimens (int __fd, __const struct timespec __times[2]) __THROW;
-int futimens (int fd, __const struct timespec ts[2])
+int futimens (int __fd, const struct timespec __times[2]) __THROW;
+int futimens (int fd, const struct timespec ts[2])
{
return utimensat(fd, 0, ts, 0);
}