tools: add indent command configuration file

And reindent all files.

Reference: http://www.gnu.org/software/indent/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-11-28 19:50:42 +00:00
parent 761c9560d7
commit 6684772550
6 changed files with 48 additions and 38 deletions

View file

@ -59,7 +59,7 @@ int rangecomp(const void *restrict r1, const void *restrict r2)
(((struct range_t *)r2)->first_ip))
return -1;
if ((((struct range_t *)r2)->first_ip) <
(((struct range_t *)r1)->first_ip))
(((struct range_t *)r1)->first_ip))
return 1;
return 0;
}
@ -174,7 +174,8 @@ int get_order(struct range_t *restrict left, struct range_t *restrict right)
return (0);
}
void mergesort_ranges(struct range_t *restrict orig, int size, struct range_t *restrict temp)
void mergesort_ranges(struct range_t *restrict orig, int size,
struct range_t *restrict temp)
{
int left, right, i;
struct range_t hold;