Revert "hwc: add the prototypes to avoid build break"