summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/fork.c2
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/getpid.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
index 2d4cae224..6ad9053b7 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
@@ -58,7 +58,7 @@ fresetlockfiles (void)
#endif
}
-
+extern __typeof(fork) __libc_fork;
pid_t
__libc_fork (void)
{
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/getpid.c b/libpthread/nptl/sysdeps/unix/sysv/linux/getpid.c
index 96e2bf439..d4de3cd9e 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/getpid.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/getpid.c
@@ -46,6 +46,7 @@ really_getpid (pid_t oldval)
}
#endif
+extern __typeof(getpid) __getpid;
pid_t
__getpid (void)
{