Skip to content

Commit 3daaa9c

Browse files
committed
Fix old-style function definition in qsort.c
1 parent 9baf67f commit 3daaa9c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/numo/narray/gen/tmpl/qsort.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@
7676
(es) % sizeof(long) ? 2 : (es) == sizeof(long)? 0 : 1;
7777

7878
static inline void
79-
swapfunc(a, b, n, swaptype)
80-
char *a,
81-
*b;
82-
size_t n;
83-
int swaptype;
79+
swapfunc(char *a, char *b, size_t n, int swaptype)
8480
{
8581
if (swaptype <= 1)
8682
swapcode(long, a, b, n);

0 commit comments

Comments
 (0)