mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use canonical include guards.
Suggested by atgeirr. Template: OPM_<FILENAME>_HEADER_INCLUDED
This commit is contained in:
parent
799dc936cd
commit
ef4d884d12
4
dfs.h
4
dfs.h
@ -17,8 +17,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef DFS_H_INCLUDED
|
||||
#define DFS_H_INCLUDED
|
||||
#ifndef OPM_DFS_HEADER_INCLUDED
|
||||
#define OPM_DFS_HEADER_INCLUDED
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -17,8 +17,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef FLOW_BC_H_INCLUDED
|
||||
#define FLOW_BC_H_INCLUDED
|
||||
#ifndef OPM_FLOW_BC_HEADER_INCLUDED
|
||||
#define OPM_FLOW_BC_HEADER_INCLUDED
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
@ -46,4 +46,4 @@ deallocate_flowbc(flowbc_t *fbc);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FLOW_BC_H_INCLUDED */
|
||||
#endif /* OPM_FLOW_BC_HEADER_INCLUDED */
|
||||
|
@ -17,8 +17,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef MIMETIC_H_INCLUDED
|
||||
#define MIMETIC_H_INCLUDED
|
||||
#ifndef OPM_MIMETIC_HEADER_INCLUDED
|
||||
#define OPM_MIMETIC_HEADER_INCLUDED
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -85,4 +85,4 @@ void mim_ip_simple_all(int ncells, int d, int max_ncf, int *ncf,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* MIMETIC_H_INCLUDED */
|
||||
#endif /* OPM_MIMETIC_HEADER_INCLUDED */
|
||||
|
@ -17,8 +17,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PARTITION_H_INCLUDED
|
||||
#define PARTITION_H_INCLUDED
|
||||
#ifndef OPM_PARTITION_HEADER_INCLUDED
|
||||
#define OPM_PARTITION_HEADER_INCLUDED
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -17,8 +17,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SPARSE_SYS_H_INCLUDED
|
||||
#define SPARSE_SYS_H_INCLUDED
|
||||
#ifndef OPM_SPARSE_SYS_HEADER_INCLUDED
|
||||
#define OPM_SPARSE_SYS_HEADER_INCLUDED
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
@ -76,4 +76,4 @@ csrmatrix_zero(struct CSRMatrix *A);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* SPARSE_SYS_H_INCLUDED */
|
||||
#endif /* OPM_SPARSE_SYS_HEADER_INCLUDED */
|
||||
|
6
well.h
6
well.h
@ -17,8 +17,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WELL_H_INCLUDED
|
||||
#define WELL_H_INCLUDED
|
||||
#ifndef OPM_WELL_HEADER_INCLUDED
|
||||
#define OPM_WELL_HEADER_INCLUDED
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -54,4 +54,4 @@ derive_cell_wells(int nc, well_t *W, int *cwpos, int *cwells);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* WELL_H_INCLUDED */
|
||||
#endif /* OPM_WELL_HEADER_INCLUDED */
|
||||
|
Loading…
Reference in New Issue
Block a user