Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/include/sys/time.h

Issue 577763002: [NaCl SDK] Fix sys/time.h and utime.h headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/include/utime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #include_next <sys/time.h>
6
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H 7 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H
6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H 8 #define LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H
7 9
8 #include <sys/cdefs.h> 10 #include <sys/cdefs.h>
9 #include <stdint.h> 11 #include <stdint.h>
10 #include_next <sys/time.h>
11 12
12 __BEGIN_DECLS 13 __BEGIN_DECLS
13 14
14 // TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949 15 // TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949
15 // remove when these declarations are added to the newlib headers. 16 // remove when these declarations are added to the newlib headers.
16 int utimes(const char *filename, const struct timeval times[2]); 17 int utimes(const char *filename, const struct timeval times[2]);
17 int futimes(int fd, const struct timeval times[2]); 18 int futimes(int fd, const struct timeval times[2]);
18 19
19 __END_DECLS 20 __END_DECLS
20 21
21 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H */ 22 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H */
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/include/utime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698