diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-08 23:04:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 23:04:19 +0100 |
commit | b370072a5a1e21876abf8cf95f4622c02565ae07 (patch) | |
tree | 5856b120cba767922c8af0cf9d9b25c48bb32ed9 /plugins/check_ide_smart.c | |
parent | ef39064f5148d96a6923f60a2fadd12810fcfa06 (diff) | |
parent | e8905c9e9c96b5b57f64edf0d5c7429aa39341b8 (diff) | |
download | monitoring-plugins-b370072a5a1e21876abf8cf95f4622c02565ae07.tar.gz |
Merge pull request #2043 from RincewindsHat/cleanup/leftovers
Cleanup/leftovers
Diffstat (limited to 'plugins/check_ide_smart.c')
-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 { |