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

Unified Diff: src/untrusted/nacl/nameservice.c

Issue 891603002: Removes the name service from the service runtime (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixes code review comments Created 5 years, 11 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/nacl.scons ('k') | src/untrusted/nacl/syscall_bindings_trampoline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/nameservice.c
diff --git a/src/untrusted/nacl/nameservice.c b/src/untrusted/nacl/nameservice.c
deleted file mode 100644
index 891cc63c4d9aecc7daaf948c4aab4f84e70882be..0000000000000000000000000000000000000000
--- a/src/untrusted/nacl/nameservice.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright 2011 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include <errno.h>
-
-#include "native_client/src/untrusted/nacl/syscall_bindings_trampoline.h"
-
-int nacl_nameservice(int *desc_in_out) {
- int retval = NACL_SYSCALL(nameservice)(desc_in_out);
- if (retval < 0) {
- errno = -retval;
- return -1;
- }
- return 0;
-}
« no previous file with comments | « src/untrusted/nacl/nacl.scons ('k') | src/untrusted/nacl/syscall_bindings_trampoline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698