roken: qsort provide ANSI C prototype for swapfunc()
K&R is no longer acceptable.
This commit is contained in:
		| @@ -69,9 +69,7 @@ static inline void	 swapfunc(char *, char *, int, int); | |||||||
| 	es % sizeof(long) ? 2 : es == sizeof(long)? 0 : 1; | 	es % sizeof(long) ? 2 : es == sizeof(long)? 0 : 1; | ||||||
|  |  | ||||||
| static inline void | static inline void | ||||||
| swapfunc(a, b, n, swaptype) | swapfunc(char *a, char *b, int n, int swaptype) | ||||||
| 	char *a, *b; |  | ||||||
| 	int n, swaptype; |  | ||||||
| { | { | ||||||
| 	if(swaptype <= 1) | 	if(swaptype <= 1) | ||||||
| 		swapcode(long, a, b, n) | 		swapcode(long, a, b, n) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeffrey Altman
					Jeffrey Altman