summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2017-05-31 06:19:12 +0000
committerXin LI <delphij@FreeBSD.org>2017-05-31 06:19:12 +0000
commit1311c0422a907da99f4cc603ab4981fab9561ce9 (patch)
treec667dfc98b3ec1a82acfaa4b793cf15ef629d887 /lib/libc
parent8c23d47eca9dc4cfdcc79426bd868b108d31c3d7 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/qsort.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/qsort.c b/lib/libc/stdlib/qsort.c
index e97ea9272dd69..08816887cf79f 100644
--- a/lib/libc/stdlib/qsort.c
+++ b/lib/libc/stdlib/qsort.c
@@ -64,9 +64,7 @@ static inline void swapfunc(char *, char *, int, int, int);
es % sizeof(TYPE) ? 2 : es == sizeof(TYPE) ? 0 : 1;
static inline void
-swapfunc(a, b, n, swaptype_long, swaptype_int)
- char *a, *b;
- int n, swaptype_long, swaptype_int;
+swapfunc( char *a, char *b, int n, int swaptype_long, int swaptype_int)
{
if (swaptype_long <= 1)
swapcode(long, a, b, n)