src/buf.c renamed (to src/libbuf.c)