Convert buffer.c to ANSI-style functions.