mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-01 14:03:30 +08:00
Use new "idcache.h" header.
* src/ls.c: Remove ancient declarations of getuser and getgroup. Include "idcache.h", instead.
This commit is contained in:
parent
b78c6b68f7
commit
a05ae2f716
@ -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.
|
||||
|
@ -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
|
||||
|
1
lib/.gitignore
vendored
1
lib/.gitignore
vendored
@ -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
|
||||
|
4
src/ls.c
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user