summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-31 11:12:11 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-31 11:12:11 +0000
commitd1436edcb90d3987b50e483550c09a8e75ab0a88 (patch)
treeb18ff11dd1ba842779553c0baf4a1836cc85618f /sysdeps/generic
parentf7f7f8150a52fd01eeedf17fa241d9cc0cf36842 (diff)
downloadglibc-d1436edcb90d3987b50e483550c09a8e75ab0a88.tar.gz
glibc-d1436edcb90d3987b50e483550c09a8e75ab0a88.tar.xz
glibc-d1436edcb90d3987b50e483550c09a8e75ab0a88.zip
Update.
	* include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
	* sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
	* sysdeps/mach/hurd/fork.c: Likewise.
	* sysdeps/unix/sysv/aix/fork.c: Likewise.
	* sysdeps/unix/fork.S: Add __GI___fork alias.
	* sysdeps/unix/arm/fork.S: Likewise.
	* sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
	* sysdeps/unix/i386/fork.S: Likewise.
	* sysdeps/unix/mips/fork.S: Likewise.
	* sysdeps/unix/sparc/fork.S: Likewise.
	* sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
	* sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
	* sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
	* sysdeps/unix/bsd/i386/vfork.S: Likewise.
	* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
	* sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
	* sysdeps/unix/bsd/vax/vfork.S: Likewise.
	* sysdeps/unix/sparc/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/fork.c3
-rw-r--r--sysdeps/generic/vfork.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/fork.c b/sysdeps/generic/fork.c
index d1ad534a73..c19fa656b3 100644
--- a/sysdeps/generic/fork.c
+++ b/sysdeps/generic/fork.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,6 +29,7 @@ __fork ()
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__fork)
 stub_warning (fork)
 
 weak_alias (__fork, fork)
diff --git a/sysdeps/generic/vfork.c b/sysdeps/generic/vfork.c
index 08f978e1ad..d15841d712 100644
--- a/sysdeps/generic/vfork.c
+++ b/sysdeps/generic/vfork.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1997, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,5 +26,6 @@ __vfork (void)
 {
   return __fork ();
 }
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)