From 4ac2ebda980e920ef33e55237ac8bf9bfe8aad9a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 10 Jan 2003 21:45:21 +0000 Subject: Don't declare directly functions declared by xalloc.h. Include "xalloc.h" instead. --- lib/idcache.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/idcache.c') diff --git a/lib/idcache.c b/lib/idcache.c index 7a827e3b0..250f1a186 100644 --- a/lib/idcache.c +++ b/lib/idcache.c @@ -1,5 +1,5 @@ /* idcache.c -- map user and group IDs, cached for speed - Copyright (C) 1985, 1988, 1989, 1990, 1997, 1998 Free Software + Copyright (C) 1985, 1988, 1989, 1990, 1997, 1998, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -35,6 +35,8 @@ # include #endif +#include "xalloc.h" + #ifndef _POSIX_VERSION struct passwd *getpwuid (); struct passwd *getpwnam (); @@ -42,9 +44,6 @@ struct group *getgrgid (); struct group *getgrnam (); #endif -char *xmalloc (); -char *xstrdup (); - #ifdef __DJGPP__ static char digits[] = "0123456789"; #endif -- cgit v1.2.3-54-g00ecf