mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-18 08:47:00 +00:00
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:
parent
761c9560d7
commit
6684772550
6 changed files with 48 additions and 38 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue