diff options
author | 2012-11-04 02:52:03 +0000 | |
---|---|---|
committer | 2012-11-04 02:52:03 +0000 | |
commit | 08870ffbc9e2cee84244c234ad5b56ea9aa26fc1 (patch) | |
tree | 6529410589884f91f893352ebc9478b9dbfbaf81 /pw/pw_vpw.c | |
parent | e31403ceb5782471289eff04659a003fc5832d0b (diff) | |
parent | 530ff00378e7fc235e5ea51067c77398d575141e (diff) | |
download | pw-darwin-08870ffbc9e2cee84244c234ad5b56ea9aa26fc1.tar.gz pw-darwin-08870ffbc9e2cee84244c234ad5b56ea9aa26fc1.tar.zst pw-darwin-08870ffbc9e2cee84244c234ad5b56ea9aa26fc1.zip |
Sync from head
Diffstat (limited to 'pw/pw_vpw.c')
-rw-r--r-- | pw/pw_vpw.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/pw/pw_vpw.c b/pw/pw_vpw.c index 473cbb6..674b64f 100644 --- a/pw/pw_vpw.c +++ b/pw/pw_vpw.c @@ -170,13 +170,6 @@ vgetpwnam(const char * nam) return vnextpwent(nam, -1, 1); } -int vpwdb(char *arg, ...) -{ - arg=arg; - return 0; -} - - static FILE * grp_fp = NULL; @@ -221,7 +214,7 @@ vnextgrent(char const * nam, gid_t gid, int doclose) int i, quickout = 0; int mno = 0; char * q, * p; - char * sep = ":\n"; + const char * sep = ":\n"; if ((p = strchr(grtmp, '\n')) == NULL) { int l; @@ -307,10 +300,3 @@ vgetgrnam(const char * nam) return vnextgrent(nam, -1, 1); } -int -vgrdb(char *arg, ...) -{ - arg=arg; - return 0; -} - |