refactor group file access code
authorJosiah Worcester <josiahw@gmail.com>
Sat, 7 Feb 2015 21:40:46 +0000 (15:40 -0600)
committerRich Felker <dalias@aerifal.cx>
Fri, 13 Feb 2015 06:46:51 +0000 (01:46 -0500)
commit7c5f0a5212127b70486159af80e24fd96262ec88
tree767c31af77ff639f324a0fe2e8dcd422f467e937
parent4e8a3561652ebcda6a126b3162fc545573889dc4
refactor group file access code

this allows getgrnam and getgrgid to share code with the _r versions
in preparation for alternate backend support.
src/passwd/fgetgrent.c
src/passwd/getgr_a.c [new file with mode: 0644]
src/passwd/getgr_r.c
src/passwd/getgrent.c
src/passwd/getgrent_a.c
src/passwd/pwf.h