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:
Tito Ragusa
2011-01-16 23:39:45 +01:00
committed by Denys Vlasenko
parent e8d0a1450a
commit ad3d72f082
3 changed files with 17 additions and 19 deletions

View File

@ -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