|
Revision 5732, 0.5 KB
(checked in by andy, 3 years ago)
|
|
sensord: Fix build error.
This is caused by a missing file (prog/sensord/args.h) in commit:
r5719 sensord: Introduce struct sensord_args.
|
| Line | |
|---|
| 1 | #ifndef SENSORD_ARGS_H |
|---|
| 2 | #define SENSORD_ARGS_H |
|---|
| 3 | |
|---|
| 4 | #include <lib/sensors.h> |
|---|
| 5 | |
|---|
| 6 | #define MAX_CHIP_NAMES 32 |
|---|
| 7 | |
|---|
| 8 | struct sensord_arguments { |
|---|
| 9 | int isDaemon; |
|---|
| 10 | const char *cfgFile; |
|---|
| 11 | const char *pidFile; |
|---|
| 12 | const char *rrdFile; |
|---|
| 13 | const char *cgiDir; |
|---|
| 14 | int scanTime; |
|---|
| 15 | int logTime; |
|---|
| 16 | int rrdTime; |
|---|
| 17 | int rrdNoAverage; |
|---|
| 18 | int syslogFacility; |
|---|
| 19 | int doScan; |
|---|
| 20 | int doSet; |
|---|
| 21 | int doCGI; |
|---|
| 22 | int doLoad; |
|---|
| 23 | int debug; |
|---|
| 24 | sensors_chip_name chipNames[MAX_CHIP_NAMES]; |
|---|
| 25 | int numChipNames; |
|---|
| 26 | }; |
|---|
| 27 | |
|---|
| 28 | extern struct sensord_arguments sensord_args; |
|---|
| 29 | |
|---|
| 30 | #endif /* SENSORD_ARGS_H */ |
|---|