Beautify: replace tabs with spaces and remove trailing spaces

This commit is contained in:
Dirk Zenker 2014-02-24 15:20:32 +01:00
parent f47caf151e
commit 5f0b5d5dd1
12 changed files with 237 additions and 251 deletions

View File

@ -216,6 +216,3 @@ main(int argc, char **argv)
return 0;
}

View File

@ -192,5 +192,3 @@ main(int argc, char **argv)
return 0;
}

View File

@ -1720,7 +1720,6 @@ mbus_dif_datalength_lookup(unsigned char dif)
return 6;
case 0x7:
return 8;
case 0x8:
return 0;
case 0x9:
@ -3579,7 +3578,6 @@ mbus_data_fixed_print(mbus_data_fixed *data)
else
{
mbus_data_int_decode(data->cnt1_val, 4, &val);
}
printf("%s: Counter1 = %d\n", __PRETTY_FUNCTION__, val);
@ -3785,7 +3783,6 @@ mbus_data_variable_record_xml(mbus_data_record *record, int record_cnt, int fram
" <StorageNumber>%ld</StorageNumber>\n",
mbus_data_record_storage_number(record));
if ((tariff = mbus_data_record_tariff(record)) >= 0)
{
len += snprintf(&buff[len], sizeof(buff) - len, " <Tariff>%ld</Tariff>\n",

View File

@ -372,5 +372,3 @@ mbus_serial_recv_frame(mbus_handle *handle, mbus_frame *frame)
return MBUS_RECV_RESULT_OK;
}

View File

@ -46,5 +46,3 @@ void mbus_serial_data_free(mbus_handle *handle);
#endif /* MBUS_SERIAL_H */

View File

@ -77,4 +77,3 @@ main(int argc, char *argv[])
return 0;
}

View File

@ -104,4 +104,3 @@ main(int argc, char *argv[])
return 0;
}