summaryrefslogtreecommitdiffstats
path: root/src/mergesort.h
blob: ea66a8bf7fc75bd4604963a94673e3d0d0629d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-only */

/* Copyright (C) 2020 Gediminas Jakutis */

#ifndef ALGOS_MERGESORT_H_INCLUDED
#define ALGOS_MERGESORT_H_INCLUDED

#include "defs.h"

int merge_sort(struct stream * const src, struct stream * const dest);
int merge(struct stream * const dest, struct stream * const A, struct stream * const B);

#endif /* ALGOS_MERGESORT_H_INCLUDED */