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

Unified Diff: src/untrusted/irt/irt_core_resource.c

Issue 10834447: Scons: Drop the uses_ppapi argument from CommandSelLdrTestNacl() (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: initial Created 8 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/irt/irt_core_resource.c
diff --git a/src/untrusted/irt/irt_core_resource.c b/src/untrusted/irt/irt_core_resource.c
deleted file mode 100644
index eb0ceebaafadd5647363e236bf8863059182f9b9..0000000000000000000000000000000000000000
--- a/src/untrusted/irt/irt_core_resource.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 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 <fcntl.h>
-
-#include "native_client/src/untrusted/irt/irt.h"
-#include "native_client/src/untrusted/nacl/syscall_bindings_trampoline.h"
-
-static int nacl_irt_open_resource(const char *pathname, int *newfd) {
- int rv = NACL_GC_WRAP_SYSCALL(NACL_SYSCALL(open)(pathname, O_RDONLY, 0));
- if (rv < 0)
- return -rv;
- *newfd = rv;
- return 0;
-}
-
-const struct nacl_irt_resource_open nacl_irt_resource_open = {
- nacl_irt_open_resource,
-};

Powered by Google App Engine
This is Rietveld 408576698