config: remove unnecessary padding

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2021-09-05 15:51:29 +01:00
parent 2ecfc86a06
commit c7e0058994
No known key found for this signature in database
GPG key ID: 0D46FEF7E61DBB46
2 changed files with 2 additions and 7 deletions

View file

@ -343,8 +343,7 @@ int main(int argc, char **argv)
.header_limit = 8, .header_limit = 8,
.ranges_size = 64, .ranges_size = 64,
.ip_version = IPvUNKNOWN, .ip_version = IPvUNKNOWN,
.color_mode = color_auto, .color_mode = color_auto
0
}; };
int ret_val; int ret_val;

View file

@ -127,7 +127,6 @@ struct shared_network_t {
double backups; double backups;
struct shared_network_t *next; struct shared_network_t *next;
int netmask; int netmask;
uint32_t pad;
}; };
/*! \struct range_t /*! \struct range_t
@ -152,7 +151,6 @@ struct output_helper_t {
double tcp; double tcp;
double bup; double bup;
int status; int status;
uint32_t pad;
}; };
/*! \struct status_counts_t /*! \struct status_counts_t
@ -182,7 +180,6 @@ struct leases_t {
char *ethernet; char *ethernet;
UT_hash_handle hh; UT_hash_handle hh;
enum ltype type; enum ltype type;
uint32_t pad;
}; };
/*! \enum limbits /*! \enum limbits
@ -251,8 +248,7 @@ struct conf_t {
skip_critical:1, /*!< Skip critical values from output. */ skip_critical:1, /*!< Skip critical values from output. */
skip_minsize:1, /*!< Skip alarming values that are below minsize from output. */ skip_minsize:1, /*!< Skip alarming values that are below minsize from output. */
skip_suppressed:1, /*!< Skip alarming values that are suppressed with --snet-alarms option, or they are shared networks without IP availability. */ skip_suppressed:1, /*!< Skip alarming values that are suppressed with --snet-alarms option, or they are shared networks without IP availability. */
color_mode:2, /*!< Indicator if colors should be used in output. */ color_mode:2; /*!< Indicator if colors should be used in output. */
pad_bits:4;
}; };
/* Function prototypes */ /* Function prototypes */