| Index: src/untrusted/nosys/truncate.c
|
| diff --git a/src/untrusted/nosys/truncate.c b/src/untrusted/nosys/truncate.c
|
| deleted file mode 100644
|
| index 2888a425aca1abaded77cd5f0de613f77df25d6e..0000000000000000000000000000000000000000
|
| --- a/src/untrusted/nosys/truncate.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 `truncate' for porting support.
|
| - */
|
| -
|
| -#include <sys/types.h>
|
| -#include <unistd.h>
|
| -#include <errno.h>
|
| -
|
| -int truncate(const char *path, off_t length) {
|
| - errno = ENOSYS;
|
| - return -1;
|
| -}
|
| -
|
| -#include "native_client/src/untrusted/nosys/warning.h"
|
| -stub_warning(truncate);
|
|
|