The point of header files is to share definitions between multiple source files. So if you only have one source file there's no point in having a header file.