Revert "minor fixes like adding a BaseType typedef in pointertype.h"
It was supposed to stay local, pushed by accident.
This reverts commit 52512cacbd4902957e7d2b447ba832191b0106bd.