From: Paul Eggert Date: Mon, 30 May 2005 07:30:31 +0000 (+0000) Subject: (getpwuid, getpwnam, getgrgid, getgrnam) X-Git-Tag: CPPI-1_12~708 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fcb5c87adb552db0716b77cedbdd0b0b3174926c;p=thirdparty%2Fcoreutils.git (getpwuid, getpwnam, getgrgid, getgrnam) [!defined _POSIX_VERSION]: Remove decls; not needed these days. --- diff --git a/lib/idcache.c b/lib/idcache.c index 87c85d8099..b3de8bbaf1 100644 --- a/lib/idcache.c +++ b/lib/idcache.c @@ -1,6 +1,7 @@ /* idcache.c -- map user and group IDs, cached for speed - Copyright (C) 1985, 1988, 1989, 1990, 1997, 1998, 2003 Free Software - Foundation, Inc. + + Copyright (C) 1985, 1988, 1989, 1990, 1997, 1998, 2003, 2005 Free + Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,13 +33,6 @@ #include "xalloc.h" -#ifndef _POSIX_VERSION -struct passwd *getpwuid (); -struct passwd *getpwnam (); -struct group *getgrgid (); -struct group *getgrnam (); -#endif - #ifdef __DJGPP__ static char digits[] = "0123456789"; #endif