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 /libpwdgrp | |
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 'libpwdgrp')
-rw-r--r-- | libpwdgrp/pwd_grp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index abb6f189a..2eb9d9dd1 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c | |||
@@ -20,16 +20,6 @@ | |||
20 | #include "libbb.h" | 20 | #include "libbb.h" |
21 | #include <assert.h> | 21 | #include <assert.h> |
22 | 22 | ||
23 | #ifndef _PATH_SHADOW | ||
24 | #define _PATH_SHADOW "/etc/shadow" | ||
25 | #endif | ||
26 | #ifndef _PATH_PASSWD | ||
27 | #define _PATH_PASSWD "/etc/passwd" | ||
28 | #endif | ||
29 | #ifndef _PATH_GROUP | ||
30 | #define _PATH_GROUP "/etc/group" | ||
31 | #endif | ||
32 | |||
33 | /**********************************************************************/ | 23 | /**********************************************************************/ |
34 | /* Sizes for statically allocated buffers. */ | 24 | /* Sizes for statically allocated buffers. */ |
35 | 25 | ||