move passwd, shadow, group and gshadow path definitions to libbb.h
...and define them only if the used libc doesn't. Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
e8d0a1450a
commit
ad3d72f082
@ -37,11 +37,6 @@ struct spwd {
|
||||
unsigned long sp_flag; /* Reserved */
|
||||
};
|
||||
|
||||
/* Paths to the user database files */
|
||||
#ifndef _PATH_SHADOW
|
||||
#define _PATH_SHADOW "/etc/shadow"
|
||||
#endif
|
||||
|
||||
#define setspent bb_internal_setspent
|
||||
#define endspent bb_internal_endspent
|
||||
#define getspent bb_internal_getspent
|
||||
|
Reference in New Issue
Block a user