1 /* OpenMP declarations.
2
3 Copyright (C) 2019-2023 Free Software Foundation, Inc.
4
5 This file is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as
7 published by the Free Software Foundation, either version 3 of the
8 License, or (at your option) any later version.
9
10 This file is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>. */
17
18 #if __GNUC__ >= 3
19 @PRAGMA_SYSTEM_HEADER@
20 #endif
21 @PRAGMA_COLUMNS@
22
23 #ifndef _@GUARD_PREFIX@_OMP_H
24
25 /* The include_next requires a split double-inclusion guard. */
26 #ifdef _OPENMP
27 # @INCLUDE_NEXT@ @NEXT_OMP_H@
28 #endif
29
30 #ifndef _@GUARD_PREFIX@_OMP_H
31 #define _@GUARD_PREFIX@_OMP_H
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 /* Initializes environment variables necessary for OpenMP. */
38 extern void openmp_init (void);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif /* _@GUARD_PREFIX@_OMP_H */
45 #endif /* _@GUARD_PREFIX@_OMP_H */