Some typedef changes.

Signed-off-by: Thiago Farina <tfarina@chromium.org>