MFC r288113:r288113 (by rodrigc):Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
MFC r297790:r297790 (by pfg):libc: replace 0 with NULL for pointers.While here also cleanup some surrounding code; particularlydrop some malloc() casts.Found with devel/coccinelle.
MFC r258578, r258580, r258581 (by hrs):Replace Sun RPC license in TI-RPC library with a 3-clause BSD licensewith the explicit permissions.