diff options
Diffstat (limited to 'sysdeps/generic/getpid.c')
-rw-r--r-- | sysdeps/generic/getpid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/getpid.c b/sysdeps/generic/getpid.c index d0a95f47b1..33b1cebe2c 100644 --- a/sysdeps/generic/getpid.c +++ b/sysdeps/generic/getpid.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 @@ -19,6 +19,7 @@ #include <errno.h> #include <unistd.h> +#undef __getpid /* Get the process ID of the calling process. */ int @@ -29,5 +30,6 @@ __getpid () } stub_warning (getpid) +INTDEF(__getpid) weak_alias (__getpid, getpid) #include <stub-tag.h> |