| Index: src/untrusted/nosys/isatty.c
|
| diff --git a/src/untrusted/nosys/isatty.c b/src/untrusted/nosys/isatty.c
|
| deleted file mode 100644
|
| index 1bfc832bea5c23b21be31615d175dfb0d19015c2..0000000000000000000000000000000000000000
|
| --- a/src/untrusted/nosys/isatty.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 `isatty' for porting support.
|
| - */
|
| -
|
| -#include <unistd.h>
|
| -#include <errno.h>
|
| -
|
| -int isatty(int file) {
|
| - errno = ENOSYS;
|
| - /* isatty does not have an error return, so we simply say `no' always. */
|
| - return 0;
|
| -}
|
| -
|
| -#include "native_client/src/untrusted/nosys/warning.h"
|
| -stub_warning(isatty);
|
|
|