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

Unified Diff: src/untrusted/nosys/lchown.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/kill.c ('k') | src/untrusted/nosys/link.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nosys/lchown.c
diff --git a/src/untrusted/nosys/lchown.c b/src/untrusted/nosys/lchown.c
deleted file mode 100644
index 42465491e8f761f312e28483c3f86d3833c07d23..0000000000000000000000000000000000000000
--- a/src/untrusted/nosys/lchown.c
+++ /dev/null
@@ -1,22 +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 `lchown' for porting support.
- */
-
-#include <sys/types.h>
-#include <unistd.h>
-#include <errno.h>
-
-int lchown(const char *path, uid_t owner, gid_t group) {
- errno = ENOSYS;
- return -1;
-}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(lchown);
« no previous file with comments | « src/untrusted/nosys/kill.c ('k') | src/untrusted/nosys/link.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698