Changeset 4808 for lm-sensors/trunk/prog/sensord/rrd.c
- Timestamp:
- 09/19/07 13:32:48 (6 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/sensord/rrd.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/sensord/rrd.c
r4157 r4808 87 87 static void 88 88 rrdCheckLabel 89 (const char *rawLabel, int index ) {90 char *buffer = rrdLabels[index ];89 (const char *rawLabel, int index0) { 90 char *buffer = rrdLabels[index0]; 91 91 int i, j, okay; 92 92 … … 105 105 j = 0; 106 106 okay = (i > 0); 107 while (okay && (j < index )) /* locate duplicates */107 while (okay && (j < index0)) /* locate duplicates */ 108 108 okay = strcmp (rrdLabels[j ++], buffer); 109 109 … … 129 129 j = 0; 130 130 okay = 1; 131 while (okay && (j < index ))131 while (okay && (j < index0)) 132 132 okay = strcmp (rrdLabels[j ++], buffer); 133 133 } … … 284 284 struct gr { 285 285 DataType type; 286 c har *h2;287 c har *image;288 c har *title;289 c har *axisTitle;290 c har *axisDefn;291 c har *options;286 const char *h2; 287 const char *image; 288 const char *title; 289 const char *axisTitle; 290 const char *axisDefn; 291 const char *options; 292 292 int loadAvg; 293 293 }; … … 367 367 0 368 368 }, { 369 DataType_other 369 DataType_other, 370 NULL, 371 NULL, 372 NULL, 373 NULL, 374 NULL, 375 NULL, 376 0 370 377 } 371 378 };
