diff options
Diffstat (limited to 'newlib/libc/sys/sparc64/utime2.c')
-rw-r--r-- | newlib/libc/sys/sparc64/utime2.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/newlib/libc/sys/sparc64/utime2.c b/newlib/libc/sys/sparc64/utime2.c deleted file mode 100644 index 5f01e3b..0000000 --- a/newlib/libc/sys/sparc64/utime2.c +++ /dev/null @@ -1,26 +0,0 @@ -/* utime() system call for sunos4 */ - -#ifndef __svr4__ - -#include <time.h> -#include <sys/time.h> -#include <utime.h> - -int -utime (char *path, struct utimbuf *times) -{ - if (times != NULL) - { - struct timeval timevals[2]; - - timevals[0].tv_sec = (long int) times->actime; - timevals[0].tv_usec = 0; - timevals[1].tv_sec = (long int) times->modtime; - timevals[1].tv_usec = 0; - return utimes (path, timevals); - } - - return utimes (path, (struct timeval *) 0); -} - -#endif |