Modernize allocation by:
authormmcc <mmcc@openbsd.org>
Fri, 16 Oct 2015 17:56:07 +0000 (17:56 +0000)
committermmcc <mmcc@openbsd.org>
Fri, 16 Oct 2015 17:56:07 +0000 (17:56 +0000)
commitcd9ca5b76593249d0a09a4be345ea62a81baa7ae
tree1ad118b446a999fa9659f7669c03d4a9481a8c60
parenta85f8ccf46dc1473d6202e60e7d50be8ede0bf9b
Modernize allocation by:

 * removing unneeded casts of void* return values
 * replacing varied and creative error messages with the allocation
   function's name
 * replacing errx() with err() so that the errno string is reported

ok beck@, jung@, millert@
usr.bin/mail/aux.c
usr.bin/mail/cmd2.c
usr.bin/mail/cmd3.c
usr.bin/mail/fio.c
usr.bin/mail/lex.c
usr.bin/mail/list.c
usr.bin/mail/names.c
usr.bin/mail/popen.c
usr.bin/mail/strings.c
usr.bin/mail/temp.c
usr.bin/mail/vars.c