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

Unified Diff: src/untrusted/nacl/stubs/getpwuid-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/getpwuid-stub.c
diff --git a/src/untrusted/nosys/getpwuid.c b/src/untrusted/nacl/stubs/getpwuid-stub.c
similarity index 82%
rename from src/untrusted/nosys/getpwuid.c
rename to src/untrusted/nacl/stubs/getpwuid-stub.c
index 20ead87ed11d386360e5fbc2dcb139eca52ba0fb..3dd334ef8e540fe474af91cbe349036f9d6455c5 100644
--- a/src/untrusted/nosys/getpwuid.c
+++ b/src/untrusted/nacl/stubs/getpwuid-stub.c
@@ -17,6 +17,3 @@ struct passwd *getpwuid(uid_t uid) {
errno = ENOSYS;
return NULL;
}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(getpwuid);

Powered by Google App Engine
This is Rietveld 408576698