mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
check_ide_smart: fix misleading static declaration
This commit is contained in:
parent
54042ac52f
commit
0c592fa860
1 changed files with 2 additions and 4 deletions
|
|
@ -113,12 +113,10 @@ typedef struct values_s {
|
|||
__u8 checksum;
|
||||
} __attribute__((packed)) values_t;
|
||||
|
||||
struct {
|
||||
static struct {
|
||||
__u8 value;
|
||||
char *text;
|
||||
}
|
||||
|
||||
static offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"},
|
||||
} offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"},
|
||||
{0x05, "Aborted"}, {0x06, "Failed"}, {0, 0}};
|
||||
|
||||
static struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue