diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:24:28 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:24:28 +0000 |
commit | 5919af45fe0fdd5a425228bbc8383aa5b0798c61 (patch) | |
tree | be0fcdcc2e09e35233a813ebe7bb4842caab3e62 /lib/libc/stdlib/qsort.c | |
parent | 74c1506b3359ee725c9031331908b717460830dc (diff) | |
download | FreeBSD-src-5919af45fe0fdd5a425228bbc8383aa5b0798c61.zip FreeBSD-src-5919af45fe0fdd5a425228bbc8383aa5b0798c61.tar.gz |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/stdlib/qsort.c')
-rw-r--r-- | lib/libc/stdlib/qsort.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/qsort.c b/lib/libc/stdlib/qsort.c index e97ea92..0881688 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) |