Commit 94cffa60 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

renamed gribapiLibraryVersion() to gribapiLibraryVersionString()

parent e71e31ba
...@@ -128,7 +128,7 @@ void cdiPrintVersion(void) ...@@ -128,7 +128,7 @@ void cdiPrintVersion(void)
fprintf(stderr, " CGRIBEX library version : %s\n", cgribexLibraryVersion()); fprintf(stderr, " CGRIBEX library version : %s\n", cgribexLibraryVersion());
#endif #endif
#if defined (HAVE_LIBGRIB_API) #if defined (HAVE_LIBGRIB_API)
fprintf(stderr, "GRIB_API library version : %s\n", gribapiLibraryVersion()); fprintf(stderr, "GRIB_API library version : %s\n", gribapiLibraryVersionString());
#endif #endif
#if defined (HAVE_LIBNETCDF) #if defined (HAVE_LIBNETCDF)
fprintf(stderr, " netCDF library version : %s\n", cdfLibraryVersion()); fprintf(stderr, " netCDF library version : %s\n", cdfLibraryVersion());
......
...@@ -21,7 +21,7 @@ static char gribapi_libvers[64] = ""; ...@@ -21,7 +21,7 @@ static char gribapi_libvers[64] = "";
static int gribapi_libvers_init; static int gribapi_libvers_init;
#endif #endif
const char *gribapiLibraryVersion(void) const char *gribapiLibraryVersionString(void)
{ {
#if defined (HAVE_LIBGRIB_API) #if defined (HAVE_LIBGRIB_API)
if (!gribapi_libvers_init) if (!gribapi_libvers_init)
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#define GRIB2_GTYPE_GME 100 /* hexagonal GME grid */ #define GRIB2_GTYPE_GME 100 /* hexagonal GME grid */
#define GRIB2_GTYPE_UNSTRUCTURED 101 /* General Unstructured Grid */ #define GRIB2_GTYPE_UNSTRUCTURED 101 /* General Unstructured Grid */
const char *gribapiLibraryVersion(void); const char *gribapiLibraryVersionString(void);
void gribContainersNew(stream_t * streamptr); void gribContainersNew(stream_t * streamptr);
void gribContainersDelete(stream_t * streamptr); void gribContainersDelete(stream_t * streamptr);
void *gribHandleNew(int editionNumber); void *gribHandleNew(int editionNumber);
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment