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

Side by Side Diff: src/untrusted/nacl/syscall_bindings_trampoline.h

Issue 12209042: Ensure syscall functions are consistently prefixed with "NaClSys" (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/untrusted/nacl/sysbrk.c ('k') | no next file » | 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) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 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 * TODO(bradchen): figure out where to move this include file and then 7 * TODO(bradchen): figure out where to move this include file and then
8 * move it. 8 * move it.
9 */ 9 */
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 /* ============================================================ */ 155 /* ============================================================ */
156 156
157 typedef int (*TYPE_nacl_getdents) (int desc, void *dirp, size_t count); 157 typedef int (*TYPE_nacl_getdents) (int desc, void *dirp, size_t count);
158 158
159 typedef int (*TYPE_nacl_gettimeofday) (struct timeval *tv, void *tz); 159 typedef int (*TYPE_nacl_gettimeofday) (struct timeval *tv, void *tz);
160 160
161 typedef int (*TYPE_nacl_sched_yield) (void); 161 typedef int (*TYPE_nacl_sched_yield) (void);
162 162
163 typedef int (*TYPE_nacl_sysconf) (int name, int *res); 163 typedef int (*TYPE_nacl_sysconf) (int name, int *res);
164 164
165 typedef void *(*TYPE_nacl_sysbrk) (void *p); 165 typedef void *(*TYPE_nacl_brk) (void *p);
166 166
167 typedef pid_t (*TYPE_nacl_getpid) (void); 167 typedef pid_t (*TYPE_nacl_getpid) (void);
168 168
169 typedef clock_t (*TYPE_nacl_clock) (void); 169 typedef clock_t (*TYPE_nacl_clock) (void);
170 170
171 typedef int (*TYPE_nacl_nanosleep) (const struct timespec *req, 171 typedef int (*TYPE_nacl_nanosleep) (const struct timespec *req,
172 struct timespec *rem); 172 struct timespec *rem);
173 173
174 typedef int (*TYPE_nacl_clock_getres) (clockid_t clk_id, 174 typedef int (*TYPE_nacl_clock_getres) (clockid_t clk_id,
175 struct timespec *res); 175 struct timespec *res);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 typedef int (*TYPE_nacl_test_infoleak) (void); 212 typedef int (*TYPE_nacl_test_infoleak) (void);
213 213
214 typedef int (*TYPE_nacl_test_crash) (int crash_type); 214 typedef int (*TYPE_nacl_test_crash) (int crash_type);
215 215
216 #if defined(__cplusplus) 216 #if defined(__cplusplus)
217 } 217 }
218 #endif 218 #endif
219 219
220 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */ 220 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */
OLDNEW
« no previous file with comments | « src/untrusted/nacl/sysbrk.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698