| Index: src/untrusted/nosys/ttyname.c
|
| diff --git a/src/untrusted/nosys/ttyname.c b/src/untrusted/nosys/ttyname.c
|
| deleted file mode 100644
|
| index 8d49e09588e52ce2ae8cf788bea22c6a926273b7..0000000000000000000000000000000000000000
|
| --- a/src/untrusted/nosys/ttyname.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 `ttyname' for porting support.
|
| - */
|
| -
|
| -#include <unistd.h>
|
| -#include <errno.h>
|
| -
|
| -char *ttyname(int fd) {
|
| - errno = ENOSYS;
|
| - return NULL;
|
| -}
|
| -
|
| -#include "native_client/src/untrusted/nosys/warning.h"
|
| -stub_warning(ttyname);
|
|
|