diff options
author | Jim Meyering <jim@meyering.net> | 2007-08-18 08:59:10 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-08-18 08:59:17 +0200 |
commit | a05ae2f7168f42d290512ae919bb9ce4aa4d7063 (patch) | |
tree | 5c8d910ec503e1ff50b34e428337c1749ae0a5d6 | |
parent | b78c6b68f77d55b6aeb57853a2f5e2bf312584c1 (diff) | |
download | coreutils-a05ae2f7168f42d290512ae919bb9ce4aa4d7063.tar.xz |
Use new "idcache.h" header.
* src/ls.c: Remove ancient declarations of getuser and getgroup.
Include "idcache.h", instead.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/.cvsignore | 1 | ||||
-rw-r--r-- | lib/.gitignore | 1 | ||||
-rw-r--r-- | src/ls.c | 4 |
4 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,9 @@ 2007-08-18 Jim Meyering <jim@meyering.net> + Use new "idcache.h" header. + * src/ls.c: Remove ancient declarations of getuser and getgroup. + Include "idcache.h", instead. + Run each Coreutils.pm-based test in its own subdirectory. * tests/CuTmpdir.pm: New file. * tests/Makefile.am (EXTRA_DIST): Add CuTmpdir.pm. diff --git a/lib/.cvsignore b/lib/.cvsignore index d16b937df..ae85b19f6 100644 --- a/lib/.cvsignore +++ b/lib/.cvsignore @@ -174,6 +174,7 @@ iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c idcache.c +idcache.h imaxtostr.c inet_ntop.c inet_ntop.h diff --git a/lib/.gitignore b/lib/.gitignore index b81fee7e7..b716aa8e9 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -167,6 +167,7 @@ iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c idcache.c +idcache.h imaxtostr.c inet_ntop.c inet_ntop.h @@ -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 |