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

Unified Diff: src/untrusted/nacl/stubs/_execve-stub.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: Move all stub source files into stubs folder 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
Index: src/untrusted/nacl/stubs/_execve-stub.c
diff --git a/src/untrusted/nosys/_execve.c b/src/untrusted/nacl/stubs/_execve-stub.c
similarity index 83%
rename from src/untrusted/nosys/_execve.c
rename to src/untrusted/nacl/stubs/_execve-stub.c
index 1b095780d6a3ef2711fa4eea7f74983fb3b84f33..faa6d9840ff2ed490ef0bbe0b17bf512080c1b0a 100644
--- a/src/untrusted/nosys/_execve.c
+++ b/src/untrusted/nacl/stubs/_execve-stub.c
@@ -16,6 +16,3 @@ int _execve(const char *name, char * const argv[], char * const envp[]) {
errno = ENOSYS;
return -1;
}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(_execve);

Powered by Google App Engine
This is Rietveld 408576698