summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/radixsort.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-03-25 22:16:37 +0000
committertholo <tholo@openbsd.org>1996-03-25 22:16:37 +0000
commitd6b090604520ff153cf625a21b175c2788328f20 (patch)
tree40f8889a8da6ddc0a6e965160d7fa78edc5c0986 /lib/libc/stdlib/radixsort.c
parentProtect internal mcount symbol from lint(1) (diff)
downloadwireguard-openbsd-d6b090604520ff153cf625a21b175c2788328f20.tar.xz
wireguard-openbsd-d6b090604520ff153cf625a21b175c2788328f20.zip
Add prototypes for internal functions
Change inline to __inline
Diffstat (limited to 'lib/libc/stdlib/radixsort.c')
-rw-r--r--lib/libc/stdlib/radixsort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/radixsort.c b/lib/libc/stdlib/radixsort.c
index dd51013c941..d571c8f3d2c 100644
--- a/lib/libc/stdlib/radixsort.c
+++ b/lib/libc/stdlib/radixsort.c
@@ -36,7 +36,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char sccsid[] = "from: @(#)radixsort.c 8.1 (Berkeley) 6/4/93";*/
-static char *rcsid = "$Id: radixsort.c,v 1.1.1.1 1995/10/18 08:42:19 deraadt Exp $";
+static char *rcsid = "$Id: radixsort.c,v 1.2 1996/03/25 22:16:39 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -61,7 +61,7 @@ typedef struct {
int sn, si;
} stack;
-static inline void simplesort
+static __inline void simplesort
__P((const u_char **, int, int, const u_char *, u_int));
static void r_sort_a __P((const u_char **, int, int, const u_char *, u_int));
static void r_sort_b __P((const u_char **,
@@ -295,7 +295,7 @@ r_sort_b(a, ta, n, i, tr, endch)
}
}
-static inline void
+static __inline void
simplesort(a, n, b, tr, endch) /* insertion sort */
register const u_char **a;
int n, b;