summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-30 08:00:53 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-30 08:00:53 +0000
commit530ff00378e7fc235e5ea51067c77398d575141e (patch)
tree3abb99e7579c92aa1f2dcc367f65dac3918dfad9 /pw/pw.c
parent6844cbad609c7fe499b4e759a0157ae704c84ccc (diff)
downloadpw-darwin-530ff00378e7fc235e5ea51067c77398d575141e.tar.gz
pw-darwin-530ff00378e7fc235e5ea51067c77398d575141e.tar.zst
pw-darwin-530ff00378e7fc235e5ea51067c77398d575141e.zip
Teach pw(8) about how to use pw/gr API to reduce code duplication
MFC after: 2 months
Diffstat (limited to 'pw/pw.c')
-rw-r--r--pw/pw.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pw/pw.c b/pw/pw.c
index e9d9363..b0ac728 100644
--- a/pw/pw.c
+++ b/pw/pw.c
@@ -62,13 +62,11 @@ struct pwf PWF =
getpwent,
getpwuid,
getpwnam,
- pwdb,
setgrent,
endgrent,
getgrent,
getgrgid,
getgrnam,
- grdb
};
struct pwf VPWF =
@@ -79,13 +77,11 @@ struct pwf VPWF =
vgetpwent,
vgetpwuid,
vgetpwnam,
- vpwdb,
vsetgrent,
vendgrent,
vgetgrent,
vgetgrgid,
vgetgrnam,
- vgrdb
};
static struct cargs arglist;