Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-01-03 03:16:49 +0300
committerJeff Johnston <jjohnstn@redhat.com>2008-01-03 03:16:49 +0300
commit7c8bd7a075a84a4d9010334b0f0cfc6cf45f49a7 (patch)
tree6a9b84fbfc5379094e2785511ce70c9539d01e83 /newlib/libc/syscalls/sysgetpid.c
parent2dba9eb2d43613800191b8f1284aada2eed1476c (diff)
2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/syscalls/sysclose.c: Always call reentrant version of the underlying syscall since one is guaranteed to exist in libc/reent. * libc/syscalls/sysexecve.c: Ditto. * libc/syscalls/sysfcntl.c: Ditto. * libc/syscalls/sysfork.c: Ditto. * libc/syscalls/sysfstat.c: Ditto. * libc/syscalls/sysgetpid.c: Ditto. * libc/syscalls/sysgettod.c: Ditto. * libc/syscalls/syskill.c: Ditto. * libc/syscalls/syslink.c: Ditto. * libc/syscalls/syslseek.c: Ditto. * libc/syscalls/sysopen.c: Ditto. * libc/syscalls/sysread.c: Ditto. * libc/syscalls/syssbrk.c: Ditto. * libc/syscalls/sysstat.c: Ditto. * libc/syscalls/systimes.c: Ditto. * libc/syscalls/sysunlink.c: Ditto. * libc/syscalls/syswait.c: Ditto. * libc/syscalls/syswrite.c: Ditto.
Diffstat (limited to 'newlib/libc/syscalls/sysgetpid.c')
-rw-r--r--newlib/libc/syscalls/sysgetpid.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/syscalls/sysgetpid.c b/newlib/libc/syscalls/sysgetpid.c
index 794f5194b..a7048acc7 100644
--- a/newlib/libc/syscalls/sysgetpid.c
+++ b/newlib/libc/syscalls/sysgetpid.c
@@ -5,9 +5,5 @@
int
_DEFUN_VOID (getpid)
{
-#ifdef REENTRANT_SYSCALLS_PROVIDED
return _getpid_r (_REENT);
-#else
- return _getpid ();
-#endif
}