1195840Sjhb/* Sorting algorithms. 2195840Sjhb Copyright (C) 2000, 2002 Free Software Foundation, Inc. 3195840Sjhb Contributed by Mark Mitchell <mark@codesourcery.com>. 4195840Sjhb 5195840SjhbThis file is part of GCC. 6195840Sjhb 7195840SjhbGCC is free software; you can redistribute it and/or modify it 8195840Sjhbunder the terms of the GNU General Public License as published by 9195840Sjhbthe Free Software Foundation; either version 2, or (at your option) 10195840Sjhbany later version. 11195840Sjhb 12195840SjhbGCC is distributed in the hope that it will be useful, but 13195840SjhbWITHOUT ANY WARRANTY; without even the implied warranty of 14195840SjhbMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15195840SjhbGeneral Public License for more details. 16195840Sjhb 17195840SjhbYou should have received a copy of the GNU General Public License 18195840Sjhbalong with GCC; see the file COPYING. If not, write to 19195840Sjhbthe Free Software Foundation, 51 Franklin Street - Fifth Floor, 20195840SjhbBoston, MA 02110-1301, USA. */ 21195840Sjhb 22195840Sjhb#ifndef SORT_H 23195840Sjhb#define SORT_H 24195840Sjhb 25195840Sjhb#include <sys/types.h> /* For size_t */ 26195840Sjhb#ifdef __STDC__ 27195840Sjhb#include <stddef.h> 28195840Sjhb#endif /* __STDC__ */ 29195840Sjhb 30195840Sjhb#ifdef __cplusplus 31195840Sjhbextern "C" { 32195840Sjhb#endif /* __cplusplus */ 33195840Sjhb 34195840Sjhb#include "ansidecl.h" 35195840Sjhb 36195840Sjhb/* Sort an array of pointers. */ 37195840Sjhb 38195840Sjhbextern void sort_pointers (size_t, void **, void **); 39195840Sjhb 40195840Sjhb#ifdef __cplusplus 41239065Skib} 42195840Sjhb#endif /* __cplusplus */ 43195840Sjhb 44195840Sjhb#endif /* SORT_H */ 45195840Sjhb 46195840Sjhb 47195840Sjhb 48195840Sjhb 49195840Sjhb