xref: /illumos-gate/usr/src/cmd/sort/internal.h (revision 101e15b5f8a77d9433805e541996abaabc9ca8c1)
1*101e15b5SRichard Lowe /*
2*101e15b5SRichard Lowe  * CDDL HEADER START
3*101e15b5SRichard Lowe  *
4*101e15b5SRichard Lowe  * The contents of this file are subject to the terms of the
5*101e15b5SRichard Lowe  * Common Development and Distribution License, Version 1.0 only
6*101e15b5SRichard Lowe  * (the "License").  You may not use this file except in compliance
7*101e15b5SRichard Lowe  * with the License.
8*101e15b5SRichard Lowe  *
9*101e15b5SRichard Lowe  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*101e15b5SRichard Lowe  * or http://www.opensolaris.org/os/licensing.
11*101e15b5SRichard Lowe  * See the License for the specific language governing permissions
12*101e15b5SRichard Lowe  * and limitations under the License.
13*101e15b5SRichard Lowe  *
14*101e15b5SRichard Lowe  * When distributing Covered Code, include this CDDL HEADER in each
15*101e15b5SRichard Lowe  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*101e15b5SRichard Lowe  * If applicable, add the following below this CDDL HEADER, with the
17*101e15b5SRichard Lowe  * fields enclosed by brackets "[]" replaced with your own identifying
18*101e15b5SRichard Lowe  * information: Portions Copyright [yyyy] [name of copyright owner]
19*101e15b5SRichard Lowe  *
20*101e15b5SRichard Lowe  * CDDL HEADER END
21*101e15b5SRichard Lowe  */
22*101e15b5SRichard Lowe /*
23*101e15b5SRichard Lowe  * Copyright (c) 1998-2000 by Sun Microsystems, Inc.
24*101e15b5SRichard Lowe  * All rights reserved.
25*101e15b5SRichard Lowe  */
26*101e15b5SRichard Lowe 
27*101e15b5SRichard Lowe #ifndef	_INTERNAL_SORT_H
28*101e15b5SRichard Lowe #define	_INTERNAL_SORT_H
29*101e15b5SRichard Lowe 
30*101e15b5SRichard Lowe #ifdef	__cplusplus
31*101e15b5SRichard Lowe extern "C" {
32*101e15b5SRichard Lowe #endif
33*101e15b5SRichard Lowe 
34*101e15b5SRichard Lowe #include <sys/mman.h>
35*101e15b5SRichard Lowe 
36*101e15b5SRichard Lowe #include <unistd.h>
37*101e15b5SRichard Lowe #include <fcntl.h>
38*101e15b5SRichard Lowe #include <limits.h>
39*101e15b5SRichard Lowe 
40*101e15b5SRichard Lowe #include "statistics.h"
41*101e15b5SRichard Lowe #include "streams.h"
42*101e15b5SRichard Lowe #include "types.h"
43*101e15b5SRichard Lowe #include "utility.h"
44*101e15b5SRichard Lowe 
45*101e15b5SRichard Lowe extern void internal_sort(sort_t *);
46*101e15b5SRichard Lowe 
47*101e15b5SRichard Lowe #ifdef	__cplusplus
48*101e15b5SRichard Lowe }
49*101e15b5SRichard Lowe #endif
50*101e15b5SRichard Lowe 
51*101e15b5SRichard Lowe #endif	/* _INTERNAL_SORT_H */
52