Replace the local getname() and getuserid() functions with calls
authormillert <millert@openbsd.org>
Sun, 16 Sep 2018 02:38:57 +0000 (02:38 +0000)
committermillert <millert@openbsd.org>
Sun, 16 Sep 2018 02:38:57 +0000 (02:38 +0000)
commitd6fbb2f1dca5fb2df732e8962239b8a7b681a891
tree2ba31087378eb4cd3c0557f5610f15b5e74800cc
parent79c46c45f44d07c9892c3412923a9243ebd0b525
Replace the local getname() and getuserid() functions with calls
to user_from_uid(3) and uid_from_user(3).  This requires sprinkling
const in a few places to match the return value of user_from_uid(3).
OK tb@
usr.bin/mail/Makefile
usr.bin/mail/aux.c
usr.bin/mail/extern.h
usr.bin/mail/getname.c [deleted file]
usr.bin/mail/glob.h
usr.bin/mail/lex.c
usr.bin/mail/names.c
usr.bin/mail/temp.c
usr.bin/mail/v7.local.c