xref: /llvm-project/flang/include/flang/Runtime/main.h (revision 0ec3ac9b7fbd15698af7289e1214e8ff3d82ec14)
1 //===-- include/flang/Runtime/main.h ----------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef FORTRAN_RUNTIME_MAIN_H_
10 #define FORTRAN_RUNTIME_MAIN_H_
11 
12 #include "flang/Runtime/c-or-cpp.h"
13 #include "flang/Runtime/entry-names.h"
14 
15 struct EnvironmentDefaultList;
16 
17 FORTRAN_EXTERN_C_BEGIN
18 void RTNAME(ProgramStart)(
19     int, const char *[], const char *[], const struct EnvironmentDefaultList *);
20 void RTNAME(ByteswapOption)(void); // -byteswapio
21 FORTRAN_EXTERN_C_END
22 
23 #endif // FORTRAN_RUNTIME_MAIN_H_
24