From 1123de0955077dc9787969de5bf5355cfee91325 Mon Sep 17 00:00:00 2001 From: Peter Urban Date: Mon, 11 Nov 2024 23:28:40 +0100 Subject: [PATCH] Revert "use gsw_get_version somewhere sensefull :-)" This reverts commit f2cea8e166162f3e36e2a388c840b5906a114a8b. --- gsw_check_functions.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/gsw_check_functions.c b/gsw_check_functions.c index c888dee..de63d5f 100644 --- a/gsw_check_functions.c +++ b/gsw_check_functions.c @@ -7,7 +7,6 @@ #include #include "gswteos-10.h" #include "gsw_check_data.h" -#include "gsw_saar_data.h" #define test_func(name, arglist, value, var) \ @@ -144,21 +143,14 @@ 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 %s (C)\n" +" Gibbs SeaWater (GSW) Oceanographic Toolbox of TEOS-10 version 3.05 (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 %s, version_date: %s).\n", - gsw_version_number, - gsw_version_number, - gsw_version_date); +" of TEOS-10 (version 3.05).\n"); check_count = 1; section_title("Practical Salinity, PSS-78");