summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/qsort.c
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2005-12-24 21:11:15 +0000
committerperry <perry@NetBSD.org>2005-12-24 21:11:15 +0000
commit4e11af46bc17850573de478d514cf2fdf8638bd7 (patch)
treec73b10dd6e35a0a7007ca003d9affeaedfcb0d9f /lib/libc/stdlib/qsort.c
parent552b373ffa06138300a8b55dce0cef5c363aff86 (diff)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Diffstat (limited to 'lib/libc/stdlib/qsort.c')
-rw-r--r--lib/libc/stdlib/qsort.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/stdlib/qsort.c b/lib/libc/stdlib/qsort.c
index 4f23189018f..637ad30e511 100644
--- a/lib/libc/stdlib/qsort.c
+++ b/lib/libc/stdlib/qsort.c
@@ -1,4 +1,4 @@
-/* $NetBSD: qsort.c,v 1.13 2003/08/07 16:43:42 agc Exp $ */
+/* $NetBSD: qsort.c,v 1.14 2005/12/24 21:11:16 perry Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: qsort.c,v 1.13 2003/08/07 16:43:42 agc Exp $");
+__RCSID("$NetBSD: qsort.c,v 1.14 2005/12/24 21:11:16 perry Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -44,9 +44,9 @@ __RCSID("$NetBSD: qsort.c,v 1.13 2003/08/07 16:43:42 agc Exp $");
#include <errno.h>
#include <stdlib.h>
-static __inline char *med3 __P((char *, char *, char *,
+static inline char *med3 __P((char *, char *, char *,
int (*)(const void *, const void *)));
-static __inline void swapfunc __P((char *, char *, size_t, int));
+static inline void swapfunc __P((char *, char *, size_t, int));
#define min(a, b) (a) < (b) ? a : b
@@ -67,7 +67,7 @@ static __inline void swapfunc __P((char *, char *, size_t, int));
#define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \
es % sizeof(long) ? 2 : es == sizeof(long)? 0 : 1;
-static __inline void
+static inline void
swapfunc(a, b, n, swaptype)
char *a, *b;
size_t n;
@@ -89,7 +89,7 @@ swapfunc(a, b, n, swaptype)
#define vecswap(a, b, n) if ((n) > 0) swapfunc((a), (b), (size_t)(n), swaptype)
-static __inline char *
+static inline char *
med3(a, b, c, cmp)
char *a, *b, *c;
int (*cmp) __P((const void *, const void *));