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

Side by Side Diff: fusl/src/stat/__xstat.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 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
1 #include <sys/stat.h> 1 #include <sys/stat.h>
2 #include "libc.h" 2 #include "libc.h"
3 3
4 int __fxstat(int ver, int fd, struct stat *buf) 4 int __fxstat(int ver, int fd, struct stat* buf) {
5 { 5 return fstat(fd, buf);
6 » return fstat(fd, buf);
7 } 6 }
8 7
9 int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) 8 int __fxstatat(int ver, int fd, const char* path, struct stat* buf, int flag) {
10 { 9 return fstatat(fd, path, buf, flag);
11 » return fstatat(fd, path, buf, flag);
12 } 10 }
13 11
14 int __lxstat(int ver, const char *path, struct stat *buf) 12 int __lxstat(int ver, const char* path, struct stat* buf) {
15 { 13 return lstat(path, buf);
16 » return lstat(path, buf);
17 } 14 }
18 15
19 int __xstat(int ver, const char *path, struct stat *buf) 16 int __xstat(int ver, const char* path, struct stat* buf) {
20 { 17 return stat(path, buf);
21 » return stat(path, buf);
22 } 18 }
23 19
24 LFS64(__fxstat); 20 LFS64(__fxstat);
25 LFS64(__fxstatat); 21 LFS64(__fxstatat);
26 LFS64(__lxstat); 22 LFS64(__lxstat);
27 LFS64(__xstat); 23 LFS64(__xstat);
28 24
29 int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev) 25 int __xmknod(int ver, const char* path, mode_t mode, dev_t* dev) {
30 { 26 return mknod(path, mode, *dev);
31 » return mknod(path, mode, *dev);
32 } 27 }
33 28
34 int __xmknodat(int ver, int fd, const char *path, mode_t mode, dev_t *dev) 29 int __xmknodat(int ver, int fd, const char* path, mode_t mode, dev_t* dev) {
35 { 30 return mknodat(fd, path, mode, *dev);
36 » return mknodat(fd, path, mode, *dev);
37 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698