fix indentation style -- no functional changes

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1878 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 14 years ago
parent 257b1e3b88
commit 876f927f14

@ -11,6 +11,8 @@
* src/global/parse.c (urj_parse_stream): Get rid of line length limitations
by using getline when it is available.
* src/part/part.c: Fix indentation style.
2011-02-17 Mike Frysinger <vapier@gentoo.org>
* data/analog/bf548/STEPPINGS: Add bf54x-0.4 support.

@ -486,23 +486,23 @@ urj_part_parts_print (urj_log_level_t ll, urj_parts_t *ps)
void
urj_part_init_register (char *part, urj_part_init_func_t init)
{
urj_part_init_t *pi;
urj_part_init_t *pi;
pi = (urj_part_init_t *) malloc (sizeof (urj_part_init_t));
strncpy (pi->part, part, URJ_PART_PART_MAXLEN);
pi->init = init;
pi->next = urj_part_inits;
urj_part_inits = pi;
pi = (urj_part_init_t *) malloc (sizeof (urj_part_init_t));
strncpy (pi->part, part, URJ_PART_PART_MAXLEN);
pi->init = init;
pi->next = urj_part_inits;
urj_part_inits = pi;
}
urj_part_init_func_t
urj_part_find_init (char *part)
{
urj_part_init_t *pi;
urj_part_init_t *pi;
for (pi = urj_part_inits; pi; pi = pi->next)
if (strcmp (pi->part, part) == 0)
return pi->init;
for (pi = urj_part_inits; pi; pi = pi->next)
if (strcmp (pi->part, part) == 0)
return pi->init;
return NULL;
return NULL;
}

Loading…
Cancel
Save