File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -43,21 +43,6 @@ static const char* colors[_COLOR_MAX] =
43
43
, [COLOR_NONE ] = "\x1B[0m"
44
44
};
45
45
46
- enum FIELD
47
- {
48
- _FLD_FIRST = 0
49
- , FLD_PORT_ID
50
- = _FLD_FIRST
51
- , FLD_BLK_DEV
52
- , FLD_MODEL_NO
53
- , FLD_SERIAL_NO
54
- , FLD_SIZE_BYTES
55
- , FLD_PWR_ON_HRS
56
- , FLD_TEMP_mC
57
- , FLD_BAD_SECT
58
- , _FLD_MAX
59
- };
60
-
61
46
struct field
62
47
{
63
48
char * string ;
Original file line number Diff line number Diff line change 4
4
5
5
#include <stdbool.h>
6
6
7
+ enum FIELD
8
+ {
9
+ FLD_INVALID = -1
10
+ , _FLD_FIRST = 0
11
+ , FLD_PORT_ID
12
+ = _FLD_FIRST
13
+ , FLD_BLK_DEV
14
+ , FLD_MODEL_NO
15
+ , FLD_SERIAL_NO
16
+ , FLD_SIZE_BYTES
17
+ , FLD_PWR_ON_HRS
18
+ , FLD_TEMP_mC
19
+ , FLD_BAD_SECT
20
+ , _FLD_MAX
21
+ };
22
+
7
23
struct scsi_target ;
8
24
9
25
void
You can’t perform that action at this time.
0 commit comments