diff options
author | Tito Ragusa | 2011-01-16 23:39:45 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-01-16 23:39:45 +0100 |
commit | ad3d72f082cbdb152837ae87d1d285cbbf67913a (patch) | |
tree | 5d6891db54a1c179b1fe956bff485b29e2a8945d /libpwdgrp | |
parent | e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f (diff) | |
download | busybox-ad3d72f082cbdb152837ae87d1d285cbbf67913a.zip busybox-ad3d72f082cbdb152837ae87d1d285cbbf67913a.tar.gz |
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 abb6f18..2eb9d9d 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c @@ -20,16 +20,6 @@ #include "libbb.h" #include <assert.h> -#ifndef _PATH_SHADOW -#define _PATH_SHADOW "/etc/shadow" -#endif -#ifndef _PATH_PASSWD -#define _PATH_PASSWD "/etc/passwd" -#endif -#ifndef _PATH_GROUP -#define _PATH_GROUP "/etc/group" -#endif - /**********************************************************************/ /* Sizes for statically allocated buffers. */ |