This is compiled as C code, so it's a good idea to be explicit about the
prototype. Clang complains about this when -Wstrict-prototypes is used.
Differential Revision: https://reviews.llvm.org/D125672
FORTRAN_EXTERN_C_BEGIN
void RTNAME(ProgramStart)(int, const char *[], const char *[]);
-void RTNAME(ByteswapOption)(); // -byteswapio
+void RTNAME(ByteswapOption)(void); // -byteswapio
FORTRAN_EXTERN_C_END
#endif // FORTRAN_RUNTIME_MAIN_H_
#include "flang/Runtime/stop.h"
/* main entry into PROGRAM */
-void _QQmain();
+void _QQmain(void);
/* C main stub */
int main(int argc, const char *argv[], const char *envp[]) {