diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 1da76d8f..2a384a01 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -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 * data/analog/bf548/STEPPINGS: Add bf54x-0.4 support. diff --git a/urjtag/src/part/part.c b/urjtag/src/part/part.c index bf3a8421..09cb7b2e 100644 --- a/urjtag/src/part/part.c +++ b/urjtag/src/part/part.c @@ -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; }