From fb720d761e924bbfe33a3a941c4bc08475382e1c Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 15 Mar 2015 20:34:34 +0100 Subject: [PATCH] Fix accidentally borked utime() declaration. --HG-- extra : source : 1ccbf1d315a8846a0b07f87de43ed1a2b9e8ee3d --- Library/include/syscalls.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/include/syscalls.h b/Library/include/syscalls.h index 98dc586e..d7a041b9 100644 --- a/Library/include/syscalls.h +++ b/Library/include/syscalls.h @@ -74,8 +74,9 @@ struct hd_geometry { #define HDIO_GET_IDENTITY 0x0102 /* Not yet implemented anywhere */ struct times; -struct utsname; struct tms; +struct utimbuf; +struct utsname; extern void _exit(int code); extern int open(const char *path, int flags, ...); @@ -150,7 +151,7 @@ extern int alarm(uint16_t seconds); extern time_t time(time_t *t); extern int stime(const time_t *t); extern int times(struct tms *tms); -//extern int utime(const char *filename, const struct utimbuf *utim); +extern int utime(const char *filename, const struct utimbuf *utim); extern int uname(struct utsname *buf); extern int profil(unsigned short *bufbase, size_t bufsize, unsigned long offset, unsigned int scale); -- 2.34.1