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

Unified Diff: src/untrusted/nosys/symlink.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/nosys/sigprocmask.c ('k') | src/untrusted/nosys/system.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nosys/symlink.c
diff --git a/src/untrusted/nosys/symlink.c b/src/untrusted/nosys/symlink.c
deleted file mode 100644
index 34fcf96264563d542cdff331efb99e79e5912c0e..0000000000000000000000000000000000000000
--- a/src/untrusted/nosys/symlink.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2010 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.
- */
-
-
-/*
- * Stub routine for `symlink' for porting support.
- */
-
-#include <unistd.h>
-#include <errno.h>
-
-int symlink(const char *oldpath, const char *newpath) {
- errno = ENOSYS;
- return -1;
-}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(symlink);
« no previous file with comments | « src/untrusted/nosys/sigprocmask.c ('k') | src/untrusted/nosys/system.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698