From e55b7a8f2fe19966c281d6cb26e98d3835d4d591 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 23 Nov 2011 22:36:57 +0100 Subject: [PATCH] chfn, setpwnam: let config.h be in control of extensions in use The autotools will set _GNU_SOURCE which removes necessity to have any _*_SOURCE definition in *.c files. Signed-off-by: Sami Kerola --- login-utils/chfn.c | 2 -- login-utils/setpwnam.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/login-utils/chfn.c b/login-utils/chfn.c index 7e87999d54..f3fdfa78f9 100644 --- a/login-utils/chfn.c +++ b/login-utils/chfn.c @@ -21,8 +21,6 @@ * */ -#define _BSD_SOURCE /* for strcasecmp() */ - #include #include #include diff --git a/login-utils/setpwnam.c b/login-utils/setpwnam.c index 9299ffa831..92d1ac90f1 100644 --- a/login-utils/setpwnam.c +++ b/login-utils/setpwnam.c @@ -46,9 +46,6 @@ #undef DEBUG -/* because I use getpwent(), putpwent(), etc... */ -#define _SVID_SOURCE - #include #include #include -- 2.47.3