Rename ptab to ptab_t