reformmating
moved declaration, now compiles to c99 standard
Buffer macros