Skip to content

Commit

Permalink
Use header guard
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Dec 16, 2019
1 parent 970010e commit 7be4a3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bmi.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef BMI_H
#define BMI_H

#define BMI_SUCCESS (0)
#define BMI_FAILURE (1)

Expand Down Expand Up @@ -70,3 +73,5 @@ typedef struct {
int (*get_grid_face_nodes)(void *self, int grid, int **face_nodes);
int (*get_grid_nodes_per_face)(void *self, int grid, int **nodes_per_face);
} Bmi;

#endif

0 comments on commit 7be4a3b

Please sign in to comment.