summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/radixsort.c
diff options
context:
space:
mode:
authortholo <>1996-03-25 22:16:40 +0000
committertholo <>1996-03-25 22:16:40 +0000
commit60fdcd77ab879ee06640599bcf2fbbea95088eac (patch)
treec8a1c0f49daf4580e484d7d831367c4c9eede8f5 /src/lib/libc/stdlib/radixsort.c
parent26bf2499c42c994d91e3a86ae74b1a2d8b829c9f (diff)
downloadopenbsd-60fdcd77ab879ee06640599bcf2fbbea95088eac.tar.gz
openbsd-60fdcd77ab879ee06640599bcf2fbbea95088eac.tar.bz2
openbsd-60fdcd77ab879ee06640599bcf2fbbea95088eac.zip
Add prototypes for internal functions
Change inline to __inline
Diffstat (limited to 'src/lib/libc/stdlib/radixsort.c')
-rw-r--r--src/lib/libc/stdlib/radixsort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/radixsort.c b/src/lib/libc/stdlib/radixsort.c
index dd51013c94..d571c8f3d2 100644
--- a/src/lib/libc/stdlib/radixsort.c
+++ b/src/lib/libc/stdlib/radixsort.c
@@ -36,7 +36,7 @@
36 36
37#if defined(LIBC_SCCS) && !defined(lint) 37#if defined(LIBC_SCCS) && !defined(lint)
38/*static char sccsid[] = "from: @(#)radixsort.c 8.1 (Berkeley) 6/4/93";*/ 38/*static char sccsid[] = "from: @(#)radixsort.c 8.1 (Berkeley) 6/4/93";*/
39static char *rcsid = "$Id: radixsort.c,v 1.1.1.1 1995/10/18 08:42:19 deraadt Exp $"; 39static char *rcsid = "$Id: radixsort.c,v 1.2 1996/03/25 22:16:39 tholo Exp $";
40#endif /* LIBC_SCCS and not lint */ 40#endif /* LIBC_SCCS and not lint */
41 41
42/* 42/*
@@ -61,7 +61,7 @@ typedef struct {
61 int sn, si; 61 int sn, si;
62} stack; 62} stack;
63 63
64static inline void simplesort 64static __inline void simplesort
65 __P((const u_char **, int, int, const u_char *, u_int)); 65 __P((const u_char **, int, int, const u_char *, u_int));
66static void r_sort_a __P((const u_char **, int, int, const u_char *, u_int)); 66static void r_sort_a __P((const u_char **, int, int, const u_char *, u_int));
67static void r_sort_b __P((const u_char **, 67static void r_sort_b __P((const u_char **,
@@ -295,7 +295,7 @@ r_sort_b(a, ta, n, i, tr, endch)
295 } 295 }
296} 296}
297 297
298static inline void 298static __inline void
299simplesort(a, n, b, tr, endch) /* insertion sort */ 299simplesort(a, n, b, tr, endch) /* insertion sort */
300 register const u_char **a; 300 register const u_char **a;
301 int n, b; 301 int n, b;