| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
| 4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 | 7 |
| 8 /* | 8 /* |
| 9 * Stub routine for `utime' for porting support. | 9 * Stub routine for `utime' for porting support. |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 #include <sys/types.h> | 12 #include <sys/types.h> |
| 13 #include <utime.h> | 13 #include <utime.h> |
| 14 #include <sys/time.h> | 14 #include <sys/time.h> |
| 15 #include <errno.h> | 15 #include <errno.h> |
| 16 | 16 |
| 17 int utime(const char *filename, const struct utimbuf *buf) { | 17 int utime(const char *filename, const struct utimbuf *buf) { |
| 18 errno = ENOSYS; | 18 errno = ENOSYS; |
| 19 return -1; | 19 return -1; |
| 20 } | 20 } |
| 21 | |
| 22 #include "native_client/src/untrusted/nosys/warning.h" | |
| 23 stub_warning(utime); | |
| OLD | NEW |