Compiler warnings

This commit is contained in:
Shahram Najm 2018-12-07 15:20:10 +00:00
parent 3aa201d506
commit 6a072cba32
4 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
#include "grib_api.h"
void usage(const char *prog)
static void usage(const char *prog)
{
fprintf(stderr,"%s: N\n",prog);
exit(1);

View File

@ -32,7 +32,7 @@ int DBL_EQUAL(double d1, double d2, double tolerance)
return fabs(d1-d2) <= tolerance;
}
void usage(const char* prog)
static void usage(const char* prog)
{
printf("Usage: %s [-f] [-v] grib_file grib_file ...\n\n",prog);
printf("Check geometry of GRIB fields with a Gaussian Grid.\n");

View File

@ -19,7 +19,7 @@
#include "grib_api_internal.h"
void usage(char* prog) {
static void usage(char* prog) {
printf("Usage: %s latlon_file grib_orography grib_file grib_file ...\n",prog);
exit(1);
}

View File

@ -13,7 +13,7 @@
#include "grib_api.h"
void usage(const char *prog)
static void usage(const char *prog)
{
fprintf(stderr,"%s: file\n",prog);
exit(1);