From ad3d72f082cbdb152837ae87d1d285cbbf67913a Mon Sep 17 00:00:00 2001 From: Tito Ragusa Date: Sun, 16 Jan 2011 23:39:45 +0100 Subject: 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 Signed-off-by: Denys Vlasenko --- libpwdgrp/pwd_grp.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libpwdgrp') 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 @@ #include "libbb.h" #include -#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. */ -- cgit v1.2.3