summaryrefslogtreecommitdiff
path: root/lib/idcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/idcache.c')
-rw-r--r--lib/idcache.c7
1 files changed, 3 insertions, 4 deletions
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 <unistd.h>
#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