diff --git a/gsw_check_functions.c b/gsw_check_functions.c index de63d5f..c888dee 100644 --- a/gsw_check_functions.c +++ b/gsw_check_functions.c @@ -7,6 +7,7 @@ #include #include "gswteos-10.h" #include "gsw_check_data.h" +#include "gsw_saar_data.h" #define test_func(name, arglist, value, var) \ @@ -143,14 +144,21 @@ main(int argc, char **argv) } } + const char* gsw_version_date; + const char* gsw_version_number; + gsw_get_version(&gsw_version_date, &gsw_version_number); + printf( "============================================================================\n" -" Gibbs SeaWater (GSW) Oceanographic Toolbox of TEOS-10 version 3.05 (C)\n" +" Gibbs SeaWater (GSW) Oceanographic Toolbox of TEOS-10 version %s (C)\n" "============================================================================\n" "\n" " These are the check values for the subset of functions that have been \n" " converted into C from the Gibbs SeaWater (GSW) Oceanographic Toolbox \n" -" of TEOS-10 (version 3.05).\n"); +" of TEOS-10 (version %s, version_date: %s).\n", + gsw_version_number, + gsw_version_number, + gsw_version_date); check_count = 1; section_title("Practical Salinity, PSS-78");