aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-08-18 06:08:39 +0000
committerChristopher Faylor <me@cgf.cx>2002-08-18 06:08:39 +0000
commita94b60cea46803ad239495fe0fe3fbcc13766b81 (patch)
tree9aac9f293a53da5a39a45375c85d03e417bee2c7 /newlib
parent8dca9e230217cc6f4ded94e5fa0ab3f63df941b9 (diff)
downloadnewlib-a94b60cea46803ad239495fe0fe3fbcc13766b81.zip
newlib-a94b60cea46803ad239495fe0fe3fbcc13766b81.tar.gz
newlib-a94b60cea46803ad239495fe0fe3fbcc13766b81.tar.bz2
* libc/include/sys/unistd.h: Add getsid declaration for cygwin.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/unistd.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 5ab4c0d..9e345cc 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-18 Christopher Faylor <cgf@redhat.com>
+
+ * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
+
2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__PPC__][__SPE__]: Set
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index d6ff250..06773cc 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -64,6 +64,9 @@ pid_t _EXFUN(getpgid, (pid_t));
pid_t _EXFUN(getpgrp, (void ));
pid_t _EXFUN(getpid, (void ));
pid_t _EXFUN(getppid, (void ));
+#ifdef __CYGWIN__
+pid_t _EXFUN(getsid, (pid_t));
+#endif
uid_t _EXFUN(getuid, (void ));
#ifdef __CYGWIN__
char * _EXFUN(getusershell, (void));