diff options
| -rw-r--r-- | plugins/check_ide_smart.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 381dbd80..9640ef70 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
| @@ -113,12 +113,10 @@ typedef struct values_s { | |||
| 113 | __u8 checksum; | 113 | __u8 checksum; |
| 114 | } __attribute__((packed)) values_t; | 114 | } __attribute__((packed)) values_t; |
| 115 | 115 | ||
| 116 | struct { | 116 | static struct { |
| 117 | __u8 value; | 117 | __u8 value; |
| 118 | char *text; | 118 | char *text; |
| 119 | } | 119 | } offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"}, |
| 120 | |||
| 121 | static offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"}, | ||
| 122 | {0x05, "Aborted"}, {0x06, "Failed"}, {0, 0}}; | 120 | {0x05, "Aborted"}, {0x06, "Failed"}, {0, 0}}; |
| 123 | 121 | ||
| 124 | static struct { | 122 | static struct { |
