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

Unified Diff: src/untrusted/nacl/stubs/ftruncate.c

Issue 22923022: Make libnosys function stubs part of libnacl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Code review feedback Created 7 years, 4 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 | « src/untrusted/nacl/stubs/fsync.c ('k') | src/untrusted/nacl/stubs/get_current_dir_name.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/stubs/ftruncate.c
diff --git a/src/untrusted/nosys/ftruncate.c b/src/untrusted/nacl/stubs/ftruncate.c
similarity index 82%
rename from src/untrusted/nosys/ftruncate.c
rename to src/untrusted/nacl/stubs/ftruncate.c
index c4fca22baf7aebb5ebfe0025bb7891f8f644bc97..2e33f13ab07e32a12eae10d9e00c651e2903d153 100644
--- a/src/untrusted/nosys/ftruncate.c
+++ b/src/untrusted/nacl/stubs/ftruncate.c
@@ -17,6 +17,3 @@ int ftruncate(int fd, off_t length) {
errno = ENOSYS;
return -1;
}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(ftruncate);
« no previous file with comments | « src/untrusted/nacl/stubs/fsync.c ('k') | src/untrusted/nacl/stubs/get_current_dir_name.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698