libc/pwd_grp: Create template for non-reentrant functions
commitf5bdd8ff82607e55a1c511e13e37a984408c8094
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 22 Dec 2015 09:58:08 +0000 (22 10:58 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 22 Dec 2015 13:32:50 +0000 (22 14:32 +0100)
tree0cf1c8860142eea988339e952fc4271b88e7b5b4
parent2a3ffa836a3a9f94f19ee2671f41c1851221a105
libc/pwd_grp: Create template for non-reentrant functions

Avoid a lot of copy'n'paste code, no functionality change

Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
19 files changed:
libc/pwd_grp/fgetgrent.c
libc/pwd_grp/fgetpwent.c
libc/pwd_grp/fgetspent.c
libc/pwd_grp/getgrent.c
libc/pwd_grp/getgrgid.c
libc/pwd_grp/getgrgid_r.c
libc/pwd_grp/getgrnam.c
libc/pwd_grp/getgrnam_r.c
libc/pwd_grp/getpwent.c
libc/pwd_grp/getpwnam.c
libc/pwd_grp/getpwnam_r.c
libc/pwd_grp/getpwuid.c
libc/pwd_grp/getpwuid_r.c
libc/pwd_grp/getspent.c
libc/pwd_grp/getspnam.c
libc/pwd_grp/getspnam_r.c
libc/pwd_grp/pwd_grp.c
libc/pwd_grp/pwd_grp_internal.c
libc/pwd_grp/sgetspent.c