summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-18 08:59:10 +0200
committerJim Meyering <jim@meyering.net>2007-08-18 08:59:17 +0200
commita05ae2f7168f42d290512ae919bb9ce4aa4d7063 (patch)
tree5c8d910ec503e1ff50b34e428337c1749ae0a5d6 /src
parentb78c6b68f77d55b6aeb57853a2f5e2bf312584c1 (diff)
downloadcoreutils-a05ae2f7168f42d290512ae919bb9ce4aa4d7063.tar.xz
Use new "idcache.h" header.
* src/ls.c: Remove ancient declarations of getuser and getgroup. Include "idcache.h", instead.
Diffstat (limited to 'src')
-rw-r--r--src/ls.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ls.c b/src/ls.c
index c6a15f60d..84090618d 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -90,6 +90,7 @@
#include "hash.h"
#include "human.h"
#include "filemode.h"
+#include "idcache.h"
#include "inttostr.h"
#include "ls.h"
#include "lstat.h"
@@ -193,9 +194,6 @@ struct bin_str
const char *string; /* Pointer to the same */
};
-char *getgroup ();
-char *getuser ();
-
#if ! HAVE_TCGETPGRP
# define tcgetpgrp(Fd) 0
#endif