aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
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)