Convert int functions to void in buffer