]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(getpwuid, getpwnam, getgrgid, getgrnam)
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 May 2005 07:30:31 +0000 (07:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 May 2005 07:30:31 +0000 (07:30 +0000)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.

lib/idcache.c

index 87c85d8099272815551e704056d90c3230a6a272..b3de8bbaf1838b81f73712f9ce051a0ff420fa14 100644 (file)
@@ -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
 
 #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