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

Side by Side Diff: sysdeps/nacl/clock_getres.c

Issue 9389024: plumb glibc clock_get interfaces to irt (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Created 8 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
OLDNEW
(Empty)
1
2 #include <errno.h>
3 #include <time.h>
4
5 #include <irt_syscalls.h>
6
7
Roland McGrath 2012/02/14 00:15:45 excess blank lines
bsy 2012/02/15 18:35:59 Done.
8
9 int clock_getres (clockid_t clk_id, struct timespec *res)
10 {
11 int result = __nacl_irt_clock_getres (clk_id, res);
12 if (result != 0) {
Roland McGrath 2012/02/14 00:15:45 glibc style puts { on a new line here, though styl
bsy 2012/02/15 18:35:59 Done.
13 __set_errno(result);
Roland McGrath 2012/02/14 00:15:45 space before paren here
bsy 2012/02/15 18:35:59 Done.
14 return -1;
15 }
16 return 0;
17 }
18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698