shithub: plan9front

Download patch

ref: a05d656054e22f216e022a239b90d8fc112396ba
parent: a9bccf9e9b1bd408629edaac277f6b3a3a4ab6fb
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Aug 11 09:10:14 EDT 2021

qsort: ...forgot to include headers in the commit.

--- a/sys/include/libc.h	Tue Aug 10 22:27:48 2021
+++ b/sys/include/libc.h	Wed Aug 11 09:10:14 2021
@@ -424,7 +424,7 @@
 extern	int	postnote(int, int, char *);
 extern	double	pow10(int);
 extern	int	putenv(char*, char*);
-extern	void	qsort(void*, long, long, int (*)(void*, void*));
+extern	void	qsort(void*, usize, usize, int (*)(void*, void*));
 extern	int	setjmp(jmp_buf);
 extern	double	strtod(char*, char**);
 extern	long	strtol(char*, char**, int);
--- a/sys/src/9/port/lib.h	Tue Aug 10 22:27:48 2021
+++ b/sys/src/9/port/lib.h	Wed Aug 11 09:10:14 2021
@@ -158,7 +158,7 @@
 extern	int	dec64(uchar*, int, char*, int);
 extern	int	dec16(uchar*, int, char*, int);
 extern	int	encodefmt(Fmt*);
-extern	void	qsort(void*, long, long, int (*)(void*, void*));
+extern	void	qsort(void*, usize, usize, int (*)(void*, void*));
 
 /*
  * Syscall data structures