fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / libgloss / libnosys / close.c
blobb759b86ee612137b0f1d543747594d5f203be037
1 /*
2 * Stub version of close.
3 */
5 #include "config.h"
6 #include <_ansi.h>
7 #include <_syslist.h>
8 #include <errno.h>
9 #undef errno
10 extern int errno;
11 #include "warning.h"
13 int
14 _DEFUN (_close, (fildes),
15 int fildes)
17 errno = ENOSYS;
18 return -1;
21 stub_warning (_close)