Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/search/qsort.c')
-rw-r--r--newlib/libc/search/qsort.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/newlib/libc/search/qsort.c b/newlib/libc/search/qsort.c
index 6c84b95b7..db3f58951 100644
--- a/newlib/libc/search/qsort.c
+++ b/newlib/libc/search/qsort.c
@@ -100,8 +100,7 @@ static inline void swapfunc (char *, char *, int, int);
es % sizeof(long) ? 2 : es == sizeof(long)? 0 : 1;
static inline void
-_DEFUN(swapfunc, (a, b, n, swaptype),
- char *a,
+swapfunc (char *a,
char *b,
int n,
int swaptype)
@@ -131,8 +130,7 @@ _DEFUN(swapfunc, (a, b, n, swaptype),
#endif
static inline char *
-_DEFUN(med3, (a, b, c, cmp, thunk),
- char *a,
+med3 (char *a,
char *b,
char *c,
cmp_t *cmp,
@@ -149,16 +147,14 @@ __unused
#if defined(I_AM_QSORT_R)
void
-_DEFUN(__bsd_qsort_r, (a, n, es, thunk, cmp),
- void *a,
+__bsd_qsort_r (void *a,
size_t n,
size_t es,
void *thunk,
cmp_t *cmp)
#elif defined(I_AM_GNU_QSORT_R)
void
-_DEFUN(qsort_r, (a, n, es, cmp, thunk),
- void *a,
+qsort_r (void *a,
size_t n,
size_t es,
cmp_t *cmp,
@@ -166,8 +162,7 @@ _DEFUN(qsort_r, (a, n, es, cmp, thunk),
#else
#define thunk NULL
void
-_DEFUN(qsort, (a, n, es, cmp),
- void *a,
+qsort (void *a,
size_t n,
size_t es,
cmp_t *cmp)