From cbe37961b534cea80ca800e7494e1e4a0ac4b4e5 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 30 Jun 2020 13:40:39 +0100 Subject: [PATCH] ECC-1128: Reduce size of executables --- tools/grib_tools.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/grib_tools.h b/tools/grib_tools.h index 445179d7c..7690b648f 100644 --- a/tools/grib_tools.h +++ b/tools/grib_tools.h @@ -33,11 +33,10 @@ #define S_ISLNK(mode) (((mode) & (S_IFMT)) == (S_IFLNK)) #endif -#define MAX_KEYS 1000 +#define MAX_KEYS 256 #define MAX_STRING_LEN 512 -#define MAX_FAILED 1024 -#define MAX_CONSTRAINT_VALUES 500 -#define LATLON_SIZE 4 /* nearest */ +#define MAX_FAILED 1024 +#define LATLON_SIZE 4 /* nearest */ #define MODE_GRIB 0 #define MODE_GTS 1 @@ -54,6 +53,7 @@ typedef union grib_typed_value } grib_typed_value; /* +#define MAX_CONSTRAINT_VALUES 500 typedef struct grib_constraints { const char* name; int type;