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

Unified Diff: src/untrusted/nosys/ttyname_r.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/ttyname.c ('k') | src/untrusted/nosys/umask.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nosys/ttyname_r.c
diff --git a/src/untrusted/nosys/ttyname_r.c b/src/untrusted/nosys/ttyname_r.c
deleted file mode 100644
index d32d3ee770cbc56d18471cc02bb68c931eb58fc9..0000000000000000000000000000000000000000
--- a/src/untrusted/nosys/ttyname_r.c
+++ /dev/null
@@ -1,20 +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 `ttyname_r' for porting support.
- */
-
-#include <unistd.h>
-#include <errno.h>
-
-int ttyname_r(int fd, char *buf, size_t buflen) {
- return ENOSYS;
-}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(ttyname_r);
« no previous file with comments | « src/untrusted/nosys/ttyname.c ('k') | src/untrusted/nosys/umask.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698