Skip to content

Commit

Permalink
Merge pull request #8 from csdms/mdpiper/test-header-guards
Browse files Browse the repository at this point in the history
Test header guards on heat.h, bmi.h, and bmi_heat.h
  • Loading branch information
mdpiper authored Dec 17, 2019
2 parents 6946093 + 8b87d7b commit d5653f6
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion heat/bmi_heat.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
#include <float.h>

#include "heat.h"
#include <bmi.h>
#include "bmi_heat.h"


#define INPUT_VAR_NAME_COUNT 1
#define OUTPUT_VAR_NAME_COUNT 1

Expand Down
2 changes: 2 additions & 0 deletions heat/bmi_main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>

#include "heat.h"
#include <bmi.h>
#include "bmi_heat.h"


Expand Down
2 changes: 2 additions & 0 deletions testing/test_conflicting_instances.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down
2 changes: 2 additions & 0 deletions testing/test_get_value.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down
2 changes: 2 additions & 0 deletions testing/test_grid_info.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down
2 changes: 2 additions & 0 deletions testing/test_initialize_from_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include <stdlib.h>
#include <math.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down
2 changes: 2 additions & 0 deletions testing/test_irf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include <stdlib.h>
#include <math.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down
2 changes: 2 additions & 0 deletions testing/test_print_var_names.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down
2 changes: 2 additions & 0 deletions testing/test_reinitialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include <stdlib.h>
#include <math.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down
2 changes: 2 additions & 0 deletions testing/test_set_value.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <heat.h>
#include <bmi.h>
#include <bmi_heat.h>


Expand Down

0 comments on commit d5653f6

Please sign in to comment.