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

Unified Diff: src/untrusted/nacl/stubs/truncate.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/tmpfile.c ('k') | src/untrusted/nacl/stubs/ttyname.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/stubs/truncate.c
diff --git a/src/untrusted/nosys/truncate.c b/src/untrusted/nacl/stubs/truncate.c
similarity index 82%
rename from src/untrusted/nosys/truncate.c
rename to src/untrusted/nacl/stubs/truncate.c
index 2888a425aca1abaded77cd5f0de613f77df25d6e..0aa0f4243d10a6a156fa7a24acf430c1cb5ac2bf 100644
--- a/src/untrusted/nosys/truncate.c
+++ b/src/untrusted/nacl/stubs/truncate.c
@@ -17,6 +17,3 @@ int truncate(const char *path, off_t length) {
errno = ENOSYS;
return -1;
}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(truncate);
« no previous file with comments | « src/untrusted/nacl/stubs/tmpfile.c ('k') | src/untrusted/nacl/stubs/ttyname.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698