Use stdint types.
Move to stdint types.
Remove unused code. Use stdint types.
Move in function pointers. Use stdint types.
Move over more functions for shared data types. Use stdint types.