Commit 5570aef3 authored by Morten Welinder's avatar Morten Welinder

Remove trailing white-space from files that have it.

(The following command was done in src/ and plugins/.  Note, that the
grep has a space and a tab.)

for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
parent ad531019
...@@ -597,10 +597,10 @@ applix_parse_style (ApplixReadState *state, char **buffer) ...@@ -597,10 +597,10 @@ applix_parse_style (ApplixReadState *state, char **buffer)
if (color == NULL) if (color == NULL)
return NULL; return NULL;
mstyle_set_color (style, MSTYLE_COLOR_BACK, color); mstyle_set_color (style, MSTYLE_COLOR_BACK, color);
} }
} else if (sep[0] == 'T' || sep[0] == 'B' || sep[0] == 'L' || sep[0] == 'R') { } else if (sep[0] == 'T' || sep[0] == 'B' || sep[0] == 'L' || sep[0] == 'R') {
/* A map from applix border indicies to gnumeric. */ /* A map from applix border indicies to gnumeric. */
static StyleBorderType const map[] = {0, static StyleBorderType const map[] = {0,
STYLE_BORDER_THIN, STYLE_BORDER_THIN,
STYLE_BORDER_MEDIUM, STYLE_BORDER_MEDIUM,
STYLE_BORDER_THICK, STYLE_BORDER_THICK,
...@@ -678,7 +678,7 @@ applix_read_attributes (ApplixReadState *state) ...@@ -678,7 +678,7 @@ applix_read_attributes (ApplixReadState *state)
if (!strncmp (buffer, "Attr Table End", 14)) if (!strncmp (buffer, "Attr Table End", 14))
return 0; return 0;
if (buffer[0] != '<') if (buffer[0] != '<')
return applix_parse_error (state, "Invalid attribute"); return applix_parse_error (state, "Invalid attribute");
/* TODO : The first style seems to be a different format */ /* TODO : The first style seems to be a different format */
...@@ -966,7 +966,7 @@ applix_read_cells (ApplixReadState *state) ...@@ -966,7 +966,7 @@ applix_read_cells (ApplixReadState *state)
ParsePos pos; ParsePos pos;
ExprTree *expr; ExprTree *expr;
Value *val = NULL; Value *val = NULL;
Range r; Range r;
char *expr_string; char *expr_string;
ptr = applix_parse_value (ptr+2, &expr_string); ptr = applix_parse_value (ptr+2, &expr_string);
......
...@@ -104,7 +104,7 @@ init_plugin (CommandContext *context, PluginData *pd) ...@@ -104,7 +104,7 @@ init_plugin (CommandContext *context, PluginData *pd)
if (plugin_version_mismatch (context, pd, GNUMERIC_VERSION)) if (plugin_version_mismatch (context, pd, GNUMERIC_VERSION))
return PLUGIN_QUIET_ERROR; return PLUGIN_QUIET_ERROR;
file_format_register_open (100, file_format_register_open (100,
_("Applix (*.as) file format"), _("Applix (*.as) file format"),
&applix_probe, &applix_load); &applix_probe, &applix_load);
......
...@@ -301,7 +301,7 @@ dif_write_cell (FILE *f, Cell const *cell) ...@@ -301,7 +301,7 @@ dif_write_cell (FILE *f, Cell const *cell)
/* FIXME : I have no idea the original code was trying to /* FIXME : I have no idea the original code was trying to
* do but it was definitely wrong. This is only marginally * do but it was definitely wrong. This is only marginally
* better. It will dump the rendered string as a single line. * better. It will dump the rendered string as a single line.
* with the magic prefix and quotes from the original. At * with the magic prefix and quotes from the original. At
* least it will not completely disregard negatives. * least it will not completely disregard negatives.
*/ */
fputs("1,0\n\"", f); fputs("1,0\n\"", f);
...@@ -344,7 +344,7 @@ dif_write_workbook (IOContext *context, ...@@ -344,7 +344,7 @@ dif_write_workbook (IOContext *context,
if (sheet_list) { if (sheet_list) {
Sheet *sheet = sheet_list->data; Sheet *sheet = sheet_list->data;
Range r = sheet_get_extent (sheet); Range r = sheet_get_extent (sheet);
/* /*
* Write out the standard headers * Write out the standard headers
*/ */
...@@ -384,7 +384,7 @@ out: ...@@ -384,7 +384,7 @@ out:
fclose (f); fclose (f);
if (rc < 0) if (rc < 0)
gnumeric_io_error_save (context, ""); gnumeric_io_error_save (context, "");
return rc; /* Q: what do we have to return here?? */ return rc; /* Q: what do we have to return here?? */
} }
...@@ -410,10 +410,10 @@ init_plugin (CommandContext *context, PluginData * pd) ...@@ -410,10 +410,10 @@ init_plugin (CommandContext *context, PluginData * pd)
if (plugin_version_mismatch (context, pd, GNUMERIC_VERSION)) if (plugin_version_mismatch (context, pd, GNUMERIC_VERSION))
return PLUGIN_QUIET_ERROR; return PLUGIN_QUIET_ERROR;
file_format_register_open (1, file_format_register_open (1,
_("Data Interchange Format (*.dif) file format"), _("Data Interchange Format (*.dif) file format"),
NULL, &dif_read_workbook); NULL, &dif_read_workbook);
file_format_register_save (".dif", file_format_register_save (".dif",
_("Data Interchange Format (*.dif)"), _("Data Interchange Format (*.dif)"),
FILE_FL_MANUAL, &dif_write_workbook); FILE_FL_MANUAL, &dif_write_workbook);
......
...@@ -121,7 +121,7 @@ excel_save (IOContext *context, WorkbookView *wb_view, const char *filename, ...@@ -121,7 +121,7 @@ excel_save (IOContext *context, WorkbookView *wb_view, const char *filename,
struct stat s; struct stat s;
MsOleErr result; MsOleErr result;
void *state = NULL; void *state = NULL;
if ((stat (filename, &s) != -1)) { if ((stat (filename, &s) != -1)) {
gnumeric_io_error_save (context, gnumeric_io_error_save (context,
_("Saving over old files disabled for safety")); _("Saving over old files disabled for safety"));
...@@ -129,7 +129,7 @@ excel_save (IOContext *context, WorkbookView *wb_view, const char *filename, ...@@ -129,7 +129,7 @@ excel_save (IOContext *context, WorkbookView *wb_view, const char *filename,
} }
if (ms_excel_check_write (context, &state, wb_view, ver) != 0) if (ms_excel_check_write (context, &state, wb_view, ver) != 0)
return -1; return -1;
result = ms_ole_create (&f, filename); result = ms_ole_create (&f, filename);
...@@ -177,15 +177,15 @@ void ...@@ -177,15 +177,15 @@ void
excel_init (void) excel_init (void)
{ {
/* We register Excel format with a precendence of 100 */ /* We register Excel format with a precendence of 100 */
file_format_register_open (100, file_format_register_open (100,
_("Microsoft(R) Excel file format"), _("Microsoft(R) Excel file format"),
&excel_probe, &excel_load); &excel_probe, &excel_load);
if (gnumeric_debugging > 0) if (gnumeric_debugging > 0)
file_format_register_save (".xls", file_format_register_save (".xls",
_("Excel(R) 97 file format"), _("Excel(R) 97 file format"),
FILE_FL_MANUAL, &excel_save_98); FILE_FL_MANUAL, &excel_save_98);
file_format_register_save (".xls", file_format_register_save (".xls",
_("Excel(R) 95 file format"), _("Excel(R) 95 file format"),
FILE_FL_MANUAL, &excel_save_95); FILE_FL_MANUAL, &excel_save_95);
} }
......
...@@ -1742,7 +1742,7 @@ BC_R(tick)(ExcelChartHandler const *handle, ...@@ -1742,7 +1742,7 @@ BC_R(tick)(ExcelChartHandler const *handle,
guint16 const position = MS_OLE_GET_GUINT8 (q->data+2); guint16 const position = MS_OLE_GET_GUINT8 (q->data+2);
guint16 const flags = MS_OLE_GET_GUINT8 (q->data+24); guint16 const flags = MS_OLE_GET_GUINT8 (q->data+24);
switch (major_type) { switch (major_type) {
case 0: puts ("no major tick;"); break; case 0: puts ("no major tick;"); break;
case 1: puts ("major tick inside axis;"); break; case 1: puts ("major tick inside axis;"); break;
......
...@@ -290,11 +290,11 @@ sst_bound_check (BiffQuery *q, guint32 offset) ...@@ -290,11 +290,11 @@ sst_bound_check (BiffQuery *q, guint32 offset)
if (offset >= q->length) { if (offset >= q->length) {
guint32 d = offset - q->length; guint32 d = offset - q->length;
guint16 opcode; guint16 opcode;
if (!ms_biff_query_peek_next (q, &opcode) || if (!ms_biff_query_peek_next (q, &opcode) ||
opcode != BIFF_CONTINUE) opcode != BIFF_CONTINUE)
return 0; return 0;
if (!ms_biff_query_next (q)) if (!ms_biff_query_next (q))
return 0; return 0;
...@@ -336,7 +336,7 @@ get_string (char **output, BiffQuery *q, guint32 offset, MsBiffVersion ver) ...@@ -336,7 +336,7 @@ get_string (char **output, BiffQuery *q, guint32 offset, MsBiffVersion ver)
do { do {
new_offset = sst_bound_check (q, new_offset); new_offset = sst_bound_check (q, new_offset);
header = biff_string_get_flags (q->data + new_offset, header = biff_string_get_flags (q->data + new_offset,
&high_byte, &high_byte,
&ext_str, &ext_str,
...@@ -356,7 +356,7 @@ get_string (char **output, BiffQuery *q, guint32 offset, MsBiffVersion ver) ...@@ -356,7 +356,7 @@ get_string (char **output, BiffQuery *q, guint32 offset, MsBiffVersion ver)
chars_left = (q->length - new_offset - pre_len) / (high_byte?2:1); chars_left = (q->length - new_offset - pre_len) / (high_byte?2:1);
if (chars_left > total_len) if (chars_left > total_len)
get_len = total_len; get_len = total_len;
else else
get_len = chars_left; get_len = chars_left;
total_len -= get_len; total_len -= get_len;
g_assert (get_len >= 0); g_assert (get_len >= 0);
...@@ -2331,7 +2331,7 @@ ms_sheet_obj_realize (MSContainer *container, MSObj *obj) ...@@ -2331,7 +2331,7 @@ ms_sheet_obj_realize (MSContainer *container, MSObj *obj)
g_return_val_if_fail (container != NULL, TRUE); g_return_val_if_fail (container != NULL, TRUE);
g_return_val_if_fail (obj->anchor_set, TRUE); g_return_val_if_fail (obj->anchor_set, TRUE);
sheet = (ExcelSheet *)container; sheet = (ExcelSheet *)container;
if (ms_sheet_obj_anchor_to_pos (position, obj->raw_anchor, if (ms_sheet_obj_anchor_to_pos (position, obj->raw_anchor,
sheet->gnum_sheet, sheet->gnum_sheet,
......
...@@ -2473,7 +2473,7 @@ repeat: ...@@ -2473,7 +2473,7 @@ repeat:
comment += MAX_BIFF_NOTE_CHUNK; comment += MAX_BIFF_NOTE_CHUNK;
len -= MAX_BIFF_NOTE_CHUNK; len -= MAX_BIFF_NOTE_CHUNK;
ms_biff_put_var_next (bp, BIFF_NOTE); ms_biff_put_var_next (bp, BIFF_NOTE);
MS_OLE_SET_GUINT16 (data + 0, 0xffff); MS_OLE_SET_GUINT16 (data + 0, 0xffff);
MS_OLE_SET_GUINT16 (data + 2, 0); MS_OLE_SET_GUINT16 (data + 2, 0);
......
...@@ -89,7 +89,7 @@ ms_read_TXO (BiffQuery *q) ...@@ -89,7 +89,7 @@ ms_read_TXO (BiffQuery *q)
ms_biff_query_next (q); ms_biff_query_next (q);
data = q->data; data = q->data;
if (unicode_flag) { if (unicode_flag) {
increment = 2; increment = 2;
data++; data++;
...@@ -101,11 +101,11 @@ ms_read_TXO (BiffQuery *q) ...@@ -101,11 +101,11 @@ ms_read_TXO (BiffQuery *q)
if (q->length < increment * text_len) { if (q->length < increment * text_len) {
g_free (text); g_free (text);
text = g_strdup ("Broken continue"); text = g_strdup ("Broken continue");
} else { } else {
for (i = 0; i < text_len ; ++i) for (i = 0; i < text_len ; ++i)
text [i] = data [i * increment]; text [i] = data [i * increment];
text [text_len] = '\0'; text [text_len] = '\0';
} }
if (ms_biff_query_peek_next (q, &peek_op) && if (ms_biff_query_peek_next (q, &peek_op) &&
peek_op == BIFF_CONTINUE) peek_op == BIFF_CONTINUE)
...@@ -356,7 +356,7 @@ ms_obj_read_biff8_obj (BiffQuery *q, MSContainer *container, MSObj *obj) ...@@ -356,7 +356,7 @@ ms_obj_read_biff8_obj (BiffQuery *q, MSContainer *container, MSObj *obj)
printf("OBJ : unexpected extra data after Object End record;\n"); printf("OBJ : unexpected extra data after Object End record;\n");
ms_ole_dump (data, data_len_left); ms_ole_dump (data, data_len_left);
return TRUE; return TRUE;
} }
/* Catch underflow too */ /* Catch underflow too */
g_return_val_if_fail (data_len_left == 0, TRUE); g_return_val_if_fail (data_len_left == 0, TRUE);
......
...@@ -83,7 +83,7 @@ static char *help_datevalue = { ...@@ -83,7 +83,7 @@ static char *help_datevalue = {
"DATEVALUE(\"1/1/1999\") equals to 36160. " "DATEVALUE(\"1/1/1999\") equals to 36160. "
"\n" "\n"
"@EXAMPLES=\n" "@EXAMPLES=\n"
"\n" "\n"
"@SEEALSO=DATE") "@SEEALSO=DATE")
}; };
...@@ -546,7 +546,7 @@ gnumeric_month (FunctionEvalInfo *ei, Value **argv) ...@@ -546,7 +546,7 @@ gnumeric_month (FunctionEvalInfo *ei, Value **argv)
{ {
int res = 1; int res = 1;
GDate *date; GDate *date;
if (argv[0]->type == VALUE_ERROR) if (argv[0]->type == VALUE_ERROR)
return value_duplicate (argv[0]); return value_duplicate (argv[0]);
...@@ -707,7 +707,7 @@ gnumeric_days360 (FunctionEvalInfo *ei, Value **argv) ...@@ -707,7 +707,7 @@ gnumeric_days360 (FunctionEvalInfo *ei, Value **argv)
if (day1 == 31) if (day1 == 31)
day1 = 30; day1 = 30;
break; break;
case METHOD_EUROPE: case METHOD_EUROPE:
if (day1 == 31) if (day1 == 31)
...@@ -1010,7 +1010,7 @@ date_functions_init(void) ...@@ -1010,7 +1010,7 @@ date_functions_init(void)
"time", "time",
&help_hour, gnumeric_hour ); &help_hour, gnumeric_hour );
def = function_add_args (cat, "minute", "S", def = function_add_args (cat, "minute", "S",
"time", "time",
&help_minute, gnumeric_minute ); &help_minute, gnumeric_minute );
......
...@@ -29,7 +29,7 @@ static char *help_ = { ...@@ -29,7 +29,7 @@ static char *help_ = {
"" ""
"" ""
"\n" "\n"
"" ""
"" ""
"" ""
...@@ -448,7 +448,7 @@ static char *help_besseli = { ...@@ -448,7 +448,7 @@ static char *help_besseli = {
"truncated." "truncated."
"\n" "\n"
"If @x or @y are not numeric a #VALUE! error is returned. " "If @x or @y are not numeric a #VALUE! error is returned. "
"If @y < 0 a #NUM! error is returned. " "If @y < 0 a #NUM! error is returned. "
"This function is Excel compatible. " "This function is Excel compatible. "
"\n" "\n"
"@EXAMPLES=\n" "@EXAMPLES=\n"
...@@ -464,7 +464,7 @@ gnumeric_besseli (FunctionEvalInfo *ei, Value **argv) ...@@ -464,7 +464,7 @@ gnumeric_besseli (FunctionEvalInfo *ei, Value **argv)
double x; double x;
double order; double order;
double result; double result;
x = value_get_as_float (argv[0]); /* value to evaluate I_n at. */ x = value_get_as_float (argv[0]); /* value to evaluate I_n at. */
order = value_get_as_float (argv[1]); /* the order */ order = value_get_as_float (argv[1]); /* the order */
...@@ -489,7 +489,7 @@ static char *help_besselk = { ...@@ -489,7 +489,7 @@ static char *help_besselk = {
"truncated." "truncated."
"\n" "\n"
"If x or n are not numeric a #VALUE! error is returned. " "If x or n are not numeric a #VALUE! error is returned. "
"If y < 0 a #NUM! error is returned. " "If y < 0 a #NUM! error is returned. "
"This function is Excel compatible. " "This function is Excel compatible. "
"\n" "\n"
"@EXAMPLES=\n" "@EXAMPLES=\n"
...@@ -504,7 +504,7 @@ gnumeric_besselk (FunctionEvalInfo *ei, Value **argv) ...@@ -504,7 +504,7 @@ gnumeric_besselk (FunctionEvalInfo *ei, Value **argv)
double x; double x;
double order; double order;
double result; double result;
x = value_get_as_float (argv[0]); /* value to evaluate K_n at. */ x = value_get_as_float (argv[0]); /* value to evaluate K_n at. */
order = value_get_as_float (argv[1]); /* the order */ order = value_get_as_float (argv[1]); /* the order */
...@@ -528,7 +528,7 @@ static char *help_besselj = { ...@@ -528,7 +528,7 @@ static char *help_besselj = {
"truncated." "truncated."
"\n" "\n"
"If @x or @y are not numeric a #VALUE! error is returned. " "If @x or @y are not numeric a #VALUE! error is returned. "
"If @y < 0 a #NUM! error is returned. " "If @y < 0 a #NUM! error is returned. "
"This function is Excel compatible. " "This function is Excel compatible. "
"\n" "\n"
"@EXAMPLES=\n" "@EXAMPLES=\n"
...@@ -565,7 +565,7 @@ static char *help_bessely = { ...@@ -565,7 +565,7 @@ static char *help_bessely = {
"truncated." "truncated."
"\n" "\n"
"If x or n are not numeric a #VALUE! error is returned. " "If x or n are not numeric a #VALUE! error is returned. "
"If n < 0 a #NUM! error is returned. " "If n < 0 a #NUM! error is returned. "
"This function is Excel compatible. " "This function is Excel compatible. "
"\n" "\n"
"@EXAMPLES=\n" "@EXAMPLES=\n"
...@@ -719,7 +719,7 @@ static char *help_imreal = { ...@@ -719,7 +719,7 @@ static char *help_imreal = {
static Value * static Value *
gnumeric_imreal (FunctionEvalInfo *ei, Value **argv) gnumeric_imreal (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c; complex_t c;
char imunit; char imunit;
...@@ -750,7 +750,7 @@ static char *help_imabs = { ...@@ -750,7 +750,7 @@ static char *help_imabs = {
static Value * static Value *
gnumeric_imabs (FunctionEvalInfo *ei, Value **argv) gnumeric_imabs (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c; complex_t c;
char imunit; char imunit;
...@@ -780,7 +780,7 @@ static char *help_imconjugate = { ...@@ -780,7 +780,7 @@ static char *help_imconjugate = {
}; };
static Value * static Value *
gnumeric_imconjugate (FunctionEvalInfo *ei, Value **argv) gnumeric_imconjugate (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c, res; complex_t c, res;
char imunit; char imunit;
...@@ -811,7 +811,7 @@ static char *help_imcos = { ...@@ -811,7 +811,7 @@ static char *help_imcos = {
}; };
static Value * static Value *
gnumeric_imcos (FunctionEvalInfo *ei, Value **argv) gnumeric_imcos (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c, res; complex_t c, res;
char imunit; char imunit;
...@@ -866,7 +866,7 @@ static char *help_imexp = { ...@@ -866,7 +866,7 @@ static char *help_imexp = {
}; };
static Value * static Value *
gnumeric_imexp (FunctionEvalInfo *ei, Value **argv) gnumeric_imexp (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c, res; complex_t c, res;
char imunit; char imunit;
...@@ -894,7 +894,7 @@ static char *help_imargument = { ...@@ -894,7 +894,7 @@ static char *help_imargument = {
}; };
static Value * static Value *
gnumeric_imargument (FunctionEvalInfo *ei, Value **argv) gnumeric_imargument (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c; complex_t c;
char imunit; char imunit;
...@@ -953,7 +953,7 @@ static char *help_imlog2 = { ...@@ -953,7 +953,7 @@ static char *help_imlog2 = {
}; };
static Value * static Value *
gnumeric_imlog2 (FunctionEvalInfo *ei, Value **argv) gnumeric_imlog2 (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c, res; complex_t c, res;
char imunit; char imunit;
...@@ -983,7 +983,7 @@ static char *help_imlog10 = { ...@@ -983,7 +983,7 @@ static char *help_imlog10 = {
}; };
static Value * static Value *
gnumeric_imlog10 (FunctionEvalInfo *ei, Value **argv) gnumeric_imlog10 (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c, res; complex_t c, res;
char imunit; char imunit;
...@@ -1015,7 +1015,7 @@ static char *help_impower = { ...@@ -1015,7 +1015,7 @@ static char *help_impower = {
}; };
static Value * static Value *
gnumeric_impower (FunctionEvalInfo *ei, Value **argv) gnumeric_impower (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t a, b, res; complex_t a, b, res;
char imunit; char imunit;
...@@ -1049,7 +1049,7 @@ static char *help_imdiv = { ...@@ -1049,7 +1049,7 @@ static char *help_imdiv = {
}; };
static Value * static Value *
gnumeric_imdiv (FunctionEvalInfo *ei, Value **argv) gnumeric_imdiv (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t a, b, res; complex_t a, b, res;
char imunit; char imunit;
...@@ -1083,7 +1083,7 @@ static char *help_imsin = { ...@@ -1083,7 +1083,7 @@ static char *help_imsin = {
}; };
static Value * static Value *
gnumeric_imsin (FunctionEvalInfo *ei, Value **argv) gnumeric_imsin (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c, res; complex_t c, res;
char imunit; char imunit;
...@@ -1111,7 +1111,7 @@ static char *help_imsqrt = { ...@@ -1111,7 +1111,7 @@ static char *help_imsqrt = {
}; };
static Value * static Value *
gnumeric_imsqrt (FunctionEvalInfo *ei, Value **argv) gnumeric_imsqrt (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t c, res; complex_t c, res;
char imunit; char imunit;
...@@ -1139,7 +1139,7 @@ static char *help_imsub = { ...@@ -1139,7 +1139,7 @@ static char *help_imsub = {
}; };
static Value * static Value *
gnumeric_imsub (FunctionEvalInfo *ei, Value **argv) gnumeric_imsub (FunctionEvalInfo *ei, Value **argv)
{ {
complex_t a, b, res; complex_t a, b, res;
char imunit; char imunit;
...@@ -1240,7 +1240,7 @@ static char *help_imsum = { ...@@ -1240,7 +1240,7 @@ static char *help_imsum = {
}; };
static Value * static Value *
gnumeric_imsum (FunctionEvalInfo *ei, GList *expr_node_list) gnumeric_imsum (FunctionEvalInfo *ei, GList *expr_node_list)
{ {
Value *v; Value *v;
eng_imoper_t p; eng_imoper_t p;
...@@ -1366,7 +1366,7 @@ typedef struct { ...@@ -1366,7 +1366,7 @@ typedef struct {
static float_t static float_t
get_constant_of_unit(eng_convert_unit_t units[], get_constant_of_unit(eng_convert_unit_t units[],
eng_convert_unit_t prefixes[], eng_convert_unit_t prefixes[],
char *unit_name, float_t *c, float_t *prefix) char *unit_name, float_t *c, float_t *prefix)
{ {
...@@ -1386,7 +1386,7 @@ get_constant_of_unit(eng_convert_unit_t units[], ...@@ -1386,7 +1386,7 @@ get_constant_of_unit(eng_convert_unit_t units[],
unit_name++; unit_name++;
break; break;
} }