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

Unified Diff: sysdeps/nacl/irt_syscalls.h

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.h ('k') | sysdeps/nacl/irt_syscalls.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/nacl/irt_syscalls.h
diff --git a/sysdeps/nacl/irt_syscalls.h b/sysdeps/nacl/irt_syscalls.h
index 5502a787b503cd880745da1c05f078a18cc064f6..d9e2832cf645a05486f3b3f3fe7ec8a169b80ac9 100644
--- a/sysdeps/nacl/irt_syscalls.h
+++ b/sysdeps/nacl/irt_syscalls.h
@@ -10,9 +10,8 @@
#include <time.h>
#include <nacl_stat.h>
+#include <nacl_dirent.h>
-struct dirent;
-struct nacl_abi_stat;
struct timeval;
struct timespec;
struct sockaddr;
@@ -107,7 +106,7 @@ extern int (*__nacl_irt_dup) (int fd, int *newfd);
extern int (*__nacl_irt_dup2) (int fd, int newfd);
extern int (*__nacl_irt_fstat) (int fd, struct nacl_abi_stat *);
extern int (*__nacl_irt_stat) (const char *pathname, struct nacl_abi_stat *);
-extern int (*__nacl_irt_getdents) (int fd, struct dirent *, size_t count,
+extern int (*__nacl_irt_getdents) (int fd, struct nacl_abi_dirent *, size_t count,
size_t *nread);
extern int (*__nacl_irt_sysbrk)(void **newbrk);
« no previous file with comments | « sysdeps/nacl/irt.h ('k') | sysdeps/nacl/irt_syscalls.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698