1169695Skan/* Sorting algorithms. 2169695Skan Copyright (C) 2000, 2002 Free Software Foundation, Inc. 3169695Skan Contributed by Mark Mitchell <mark@codesourcery.com>. 4169695Skan 5169695SkanThis file is part of GCC. 6169695Skan 7169695SkanGCC is free software; you can redistribute it and/or modify it 8169695Skanunder the terms of the GNU General Public License as published by 9169695Skanthe Free Software Foundation; either version 2, or (at your option) 10169695Skanany later version. 11169695Skan 12169695SkanGCC is distributed in the hope that it will be useful, but 13169695SkanWITHOUT ANY WARRANTY; without even the implied warranty of 14169695SkanMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15169695SkanGeneral Public License for more details. 16169695Skan 17169695SkanYou should have received a copy of the GNU General Public License 18169695Skanalong with GCC; see the file COPYING. If not, write to 19169695Skanthe Free Software Foundation, 51 Franklin Street - Fifth Floor, 20169695SkanBoston, MA 02110-1301, USA. */ 21169695Skan 22169695Skan#ifndef SORT_H 23169695Skan#define SORT_H 24169695Skan 25169695Skan#include <sys/types.h> /* For size_t */ 26169695Skan#ifdef __STDC__ 27169695Skan#include <stddef.h> 28169695Skan#endif /* __STDC__ */ 29169695Skan 30169695Skan#ifdef __cplusplus 31169695Skanextern "C" { 32169695Skan#endif /* __cplusplus */ 33169695Skan 34169695Skan#include "ansidecl.h" 35169695Skan 36169695Skan/* Sort an array of pointers. */ 37169695Skan 38169695Skanextern void sort_pointers (size_t, void **, void **); 39169695Skan 40169695Skan#ifdef __cplusplus 41169695Skan} 42169695Skan#endif /* __cplusplus */ 43169695Skan 44169695Skan#endif /* SORT_H */ 45169695Skan 46169695Skan 47169695Skan 48169695Skan 49