aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2009-09-25 23:57:09 +0000
committerEric Blake <eblake@redhat.com>2009-09-25 23:57:09 +0000
commit65d436509b8e1d66629f91810dffabef56173996 (patch)
treeb3c86d53ee01bab284836a1c6d6cc28dd1625f1a /newlib
parent76fe91b90b99fa2266922998e46b1fd988615b67 (diff)
downloadnewlib-65d436509b8e1d66629f91810dffabef56173996.zip
newlib-65d436509b8e1d66629f91810dffabef56173996.tar.gz
newlib-65d436509b8e1d66629f91810dffabef56173996.tar.bz2
* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
Add declarations.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/unistd.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 63182d7..58c24cf 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-24 Eric Blake <ebb9@byu.net>
+
+ * libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
+ Add declarations.
+
2009-09-23 Corinna Vinschen <corinna@vinschen.de>
* libc/locale/locale.c: Drop Cygwin-specific windows.h include.
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 5128d30..388ba4e 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -38,7 +38,9 @@ int _EXFUN(daemon, (int nochdir, int noclose));
int _EXFUN(dup, (int __fildes ));
int _EXFUN(dup2, (int __fildes, int __fildes2 ));
#if defined(__CYGWIN__)
+int _EXFUN(eaccess, (const char *__path, int __mode));
void _EXFUN(endusershell, (void));
+int _EXFUN(euidaccess, (const char *__path, int __mode));
#endif
int _EXFUN(execl, (const char *__path, const char *, ... ));
int _EXFUN(execle, (const char *__path, const char *, ... ));