diff options
Diffstat (limited to 'sysdeps/mach/hurd/dup2.c')
-rw-r--r-- | sysdeps/mach/hurd/dup2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/dup2.c b/sysdeps/mach/hurd/dup2.c index 6038e87fd9..64d69d9af1 100644 --- a/sysdeps/mach/hurd/dup2.c +++ b/sysdeps/mach/hurd/dup2.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 94, 95, 97, 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 @@ -22,6 +22,8 @@ #include <hurd.h> #include <hurd/fd.h> +#undef __dup2 + /* Duplicate FD to FD2, closing the old FD2 and making FD2 be open on the same file as FD is. Return FD2 or -1. */ @@ -132,4 +134,5 @@ __dup2 (fd, fd2) return fd2; } +INTDEF(__dup2) weak_alias (__dup2, dup2) |