added post.h
Corrected style to c89