mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 08:16:59 +00:00
clean up: rename get_order() to merge() and mark static
No other function than mergesort_ranges() can use the merge(), so calling it with rather generic name and making it static seems right to me. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
bd5ee58a3f
commit
82df7c98d4
2 changed files with 3 additions and 7 deletions
|
|
@ -232,8 +232,6 @@ unsigned long int ret_touched(struct range_t r);
|
|||
unsigned long int ret_tc(struct range_t r);
|
||||
unsigned long int ret_tcperc(struct range_t r);
|
||||
void field_selector(char c);
|
||||
int get_order(struct range_t *__restrict left, struct range_t *__restrict right)
|
||||
__attribute__ ((nonnull(1, 2)));
|
||||
void mergesort_ranges(struct range_t *__restrict orig, int size,
|
||||
struct range_t *__restrict temp)
|
||||
__attribute__ ((nonnull(1, 3)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue