diff options
author | Tito Ragusa <farmatito@tiscali.it> | 2011-01-16 23:39:45 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-16 23:39:45 +0100 |
commit | ad3d72f082cbdb152837ae87d1d285cbbf67913a (patch) | |
tree | 5d6891db54a1c179b1fe956bff485b29e2a8945d /include/shadow_.h | |
parent | e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f (diff) | |
download | busybox-w32-ad3d72f082cbdb152837ae87d1d285cbbf67913a.tar.gz busybox-w32-ad3d72f082cbdb152837ae87d1d285cbbf67913a.tar.bz2 busybox-w32-ad3d72f082cbdb152837ae87d1d285cbbf67913a.zip |
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>
Diffstat (limited to 'include/shadow_.h')
-rw-r--r-- | include/shadow_.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/shadow_.h b/include/shadow_.h index de126ddec..648a62ab3 100644 --- a/include/shadow_.h +++ b/include/shadow_.h | |||
@@ -37,11 +37,6 @@ struct spwd { | |||
37 | unsigned long sp_flag; /* Reserved */ | 37 | unsigned long sp_flag; /* Reserved */ |
38 | }; | 38 | }; |
39 | 39 | ||
40 | /* Paths to the user database files */ | ||
41 | #ifndef _PATH_SHADOW | ||
42 | #define _PATH_SHADOW "/etc/shadow" | ||
43 | #endif | ||
44 | |||
45 | #define setspent bb_internal_setspent | 40 | #define setspent bb_internal_setspent |
46 | #define endspent bb_internal_endspent | 41 | #define endspent bb_internal_endspent |
47 | #define getspent bb_internal_getspent | 42 | #define getspent bb_internal_getspent |