mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-25 10:09:39 +02:00
Use ANSI C prototypes
This commit is contained in:
@@ -130,10 +130,8 @@
|
||||
* only advantage over quicksort is that it requires little additional memory.
|
||||
*/
|
||||
int
|
||||
heapsort(vbase, nmemb, size, compar)
|
||||
void *vbase;
|
||||
size_t nmemb, size;
|
||||
int (*compar)(const void *, const void *);
|
||||
heapsort(void *vbase, size_t nmemb, size_t size,
|
||||
int (*compar)(const void *, const void *))
|
||||
{
|
||||
size_t cnt, i, j, l;
|
||||
char tmp, *tmp1, *tmp2;
|
||||
|
||||
Reference in New Issue
Block a user