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

Unified Diff: sysdeps/nacl/irt_syscalls.c

Issue 1261203002: Fix signature of __nacl_irt_xx functions (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-glibc.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sysdeps/nacl/irt_syscalls.h ('k') | sysdeps/nacl/readdir.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/nacl/irt_syscalls.c
diff --git a/sysdeps/nacl/irt_syscalls.c b/sysdeps/nacl/irt_syscalls.c
index 635b1f2caf4309ed0819ac075174e705fa50b3a0..8889ea886681f54fbc9b67e1cfd665ff437d4de6 100644
--- a/sysdeps/nacl/irt_syscalls.c
+++ b/sysdeps/nacl/irt_syscalls.c
@@ -102,7 +102,7 @@ static int nacl_irt_stat (const char *pathname, struct nacl_abi_stat *st) {
return -NACL_SYSCALL (stat) (pathname, st);
}
-static int nacl_irt_getdents (int fd, struct dirent *buf, size_t count,
+static int nacl_irt_getdents (int fd, struct nacl_irt_dirent *buf, size_t count,
size_t *nread) {
int rv = NACL_SYSCALL (getdents) (fd, buf, count);
if (rv < 0)
@@ -310,7 +310,7 @@ int (*__nacl_irt_dup) (int fd, int *newfd);
int (*__nacl_irt_dup2) (int fd, int newfd);
int (*__nacl_irt_fstat) (int fd, struct nacl_abi_stat *);
int (*__nacl_irt_stat) (const char *pathname, struct nacl_abi_stat *);
-int (*__nacl_irt_getdents) (int fd, struct dirent *, size_t count,
+int (*__nacl_irt_getdents) (int fd, struct nacl_abi_dirent *, size_t count,
size_t *nread);
int (*__nacl_irt_socket) (int domain, int type, int protocol, int *sd);
int (*__nacl_irt_accept) (int sockfd, struct sockaddr *addr,
« no previous file with comments | « sysdeps/nacl/irt_syscalls.h ('k') | sysdeps/nacl/readdir.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698