Skip to content

Commit

Permalink
Replace BMI_SUCCESS/FAILURE macros with static constants per csdms/bm…
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller authored and hellkite500 committed Jun 11, 2024
1 parent c9aa4c8 commit ebd24a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/bmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ SOFTWARE.
extern "C" {
#endif

#define BMI_SUCCESS (0)
#define BMI_FAILURE (1)
const static int BMI_SUCCESS = 0;
const static int BMI_FAILURE = 1;

#define BMI_MAX_UNITS_NAME (2048)
#define BMI_MAX_TYPE_NAME (2048)
Expand Down

0 comments on commit ebd24a4

Please sign in to comment.