Move UCB-licensed code from 4-clause to 3-clause licence.Patches provided by Joel Baker in PR 22280, verified by myself.
rcsid facism, WARNSify
include <stdlib.h> for free() prototype
update