Fix build warnings and errors when running a full make build

-Also use OldRilfeature for api
-Remove @deprecated tag

Signed-off-by:  Paul Beeler <sparksco@gmail.com>