Chromium Code Reviews| Index: src/untrusted/nosys/setuid.c |
| diff --git a/src/untrusted/nosys/setuid.c b/src/untrusted/nosys/setuid.c |
| deleted file mode 100644 |
| index fa736573191d32aa7933b1fa73b036d55edbb84f..0000000000000000000000000000000000000000 |
| --- a/src/untrusted/nosys/setuid.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 `setuid' for porting support. |
| - */ |
| - |
| -#include <unistd.h> |
| -#include <sys/types.h> |
| -#include <errno.h> |
| - |
| -int setuid(uid_t uid) { |
| - errno = ENOSYS; |
| - return -1; |
| -} |
| - |
| -#include "native_client/src/untrusted/nosys/warning.h" |
| -stub_warning(setuid); |