/* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */ #ifndef _COMMONLIB_SORT_H_ #define _COMMONLIB_SORT_H_ #include typedef enum { NUM_ASCENDING, NUM_DESCENDING } sort_order_t; void bubblesort(int *v, size_t num_entries, sort_order_t order); #endif /* _COMMONLIB_SORT_H_ */