summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-07-30 01:10:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-07-30 01:10:05 +0000
commita7e4a908f3836e6eaf9e3023736bb26353f98c47 (patch)
tree6cd6b66e664c345096af0483352a2393c08e2526
parenta74ddb4e401b4f5e6d09759cc67ab639ce8e98b9 (diff)
downloadpw-darwin-a7e4a908f3836e6eaf9e3023736bb26353f98c47.tar.gz
pw-darwin-a7e4a908f3836e6eaf9e3023736bb26353f98c47.tar.zst
pw-darwin-a7e4a908f3836e6eaf9e3023736bb26353f98c47.zip
Remove usage of _WITH_GETLINE from usr.sbin
-rw-r--r--pw/pw.h1
-rw-r--r--pw/pw_vpw.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/pw/pw.h b/pw/pw.h
index 05a51c2..592d592 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -28,7 +28,6 @@
#include <sys/stat.h>
-#define _WITH_GETLINE
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/pw/pw_vpw.c b/pw/pw_vpw.c
index 08c8bd5..8430113 100644
--- a/pw/pw_vpw.c
+++ b/pw/pw_vpw.c
@@ -33,7 +33,6 @@ static const char rcsid[] =
#include <pwd.h>
#include <grp.h>
#include <libutil.h>
-#define _WITH_GETLINE
#include <stdio.h>
#include <string.h>
#include <stdlib.h>