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

Side by Side Diff: src/trusted/service_runtime/include/bits/stat.h

Issue 1163893003: Don't include <stdint.h> from within <machine/_types.h> (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 5 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 | « src/include/win/port_win.h ('k') | src/trusted/service_runtime/include/machine/_types.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 /* 1 /*
2 * Copyright (c) 2008 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2008 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * NaCl Service Runtime API. 8 * NaCl Service Runtime API.
9 */ 9 */
10 10
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_STAT_H_ 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_STAT_H_
12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_STAT_H_ 12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_STAT_H_
13 13
14 #if defined(NACL_IN_TOOLCHAIN_HEADERS) 14 #if defined(NACL_IN_TOOLCHAIN_HEADERS)
15 #include <sys/types.h> 15 #include <sys/types.h>
16 #include <stdint.h>
16 #else 17 #else
17 #include "native_client/src/trusted/service_runtime/include/machine/_types.h" 18 #include "native_client/src/trusted/service_runtime/include/machine/_types.h"
18 #endif 19 #endif
19 20
20 /* 21 /*
21 * nacl_abi_mode_t is uint32_t, so we have more bits to play with: 22 * nacl_abi_mode_t is uint32_t, so we have more bits to play with:
22 * 23 *
23 * 3 b/octal digit, 30 bits: 1234567890 24 * 3 b/octal digit, 30 bits: 1234567890
24 */ 25 */
25 #define NACL_ABI_S_IFMT 0000370000 /* for now */ 26 #define NACL_ABI_S_IFMT 0000370000 /* for now */
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 nacl_abi_blkcnt_t nacl_abi_st_blocks; /* not implemented */ 118 nacl_abi_blkcnt_t nacl_abi_st_blocks; /* not implemented */
118 nacl_abi_time_t nacl_abi_st_atime; /* access time */ 119 nacl_abi_time_t nacl_abi_st_atime; /* access time */
119 int64_t nacl_abi_st_atimensec; /* possibly just pad */ 120 int64_t nacl_abi_st_atimensec; /* possibly just pad */
120 nacl_abi_time_t nacl_abi_st_mtime; /* modification time */ 121 nacl_abi_time_t nacl_abi_st_mtime; /* modification time */
121 int64_t nacl_abi_st_mtimensec; /* possibly just pad */ 122 int64_t nacl_abi_st_mtimensec; /* possibly just pad */
122 nacl_abi_time_t nacl_abi_st_ctime; /* inode change time */ 123 nacl_abi_time_t nacl_abi_st_ctime; /* inode change time */
123 int64_t nacl_abi_st_ctimensec; /* possibly just pad */ 124 int64_t nacl_abi_st_ctimensec; /* possibly just pad */
124 }; 125 };
125 126
126 #endif 127 #endif
OLDNEW
« no previous file with comments | « src/include/win/port_win.h ('k') | src/trusted/service_runtime/include/machine/_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698