mirror of https://github.com/ecmwf/eccodes.git
Compiler warnings
This commit is contained in:
parent
3aa201d506
commit
6a072cba32
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include "grib_api.h"
|
#include "grib_api.h"
|
||||||
|
|
||||||
void usage(const char *prog)
|
static void usage(const char *prog)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"%s: N\n",prog);
|
fprintf(stderr,"%s: N\n",prog);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
@ -32,7 +32,7 @@ int DBL_EQUAL(double d1, double d2, double tolerance)
|
||||||
return fabs(d1-d2) <= 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("Usage: %s [-f] [-v] grib_file grib_file ...\n\n",prog);
|
||||||
printf("Check geometry of GRIB fields with a Gaussian Grid.\n");
|
printf("Check geometry of GRIB fields with a Gaussian Grid.\n");
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include "grib_api_internal.h"
|
#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);
|
printf("Usage: %s latlon_file grib_orography grib_file grib_file ...\n",prog);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "grib_api.h"
|
#include "grib_api.h"
|
||||||
|
|
||||||
void usage(const char *prog)
|
static void usage(const char *prog)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"%s: file\n",prog);
|
fprintf(stderr,"%s: file\n",prog);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue