summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-30 07:30:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-30 07:30:31 +0000
commitfcb5c87adb552db0716b77cedbdd0b0b3174926c (patch)
tree3c6b322c2bb207c30a15421bb1567a94218705c1 /lib
parent241ed9e3398a00d39a3c49da17e428a968091c51 (diff)
downloadcoreutils-fcb5c87adb552db0716b77cedbdd0b0b3174926c.tar.xz
(getpwuid, getpwnam, getgrgid, getgrnam)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
Diffstat (limited to 'lib')
-rw-r--r--lib/idcache.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/idcache.c b/lib/idcache.c
index 87c85d809..b3de8bbaf 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