Back to index

cell-binutils  2.17cvs20070401
sort.h
Go to the documentation of this file.
00001 /* Sorting algorithms.
00002    Copyright (C) 2000, 2002 Free Software Foundation, Inc.
00003    Contributed by Mark Mitchell <mark@codesourcery.com>.
00004 
00005 This file is part of GCC.
00006    
00007 GCC is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU General Public License as published by
00009 the Free Software Foundation; either version 2, or (at your option)
00010 any later version.
00011 
00012 GCC is distributed in the hope that it will be useful, but
00013 WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015 General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with GCC; see the file COPYING.  If not, write to
00019 the Free Software Foundation, 51 Franklin Street - Fifth Floor,
00020 Boston, MA 02110-1301, USA.  */
00021 
00022 #ifndef SORT_H
00023 #define SORT_H
00024 
00025 #include <sys/types.h> /* For size_t */
00026 #ifdef __STDC__
00027 #include <stddef.h>
00028 #endif /* __STDC__ */
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif /* __cplusplus */
00033 
00034 #include "ansidecl.h"
00035 
00036 /* Sort an array of pointers.  */
00037 
00038 extern void sort_pointers (size_t, void **, void **);
00039 
00040 #ifdef __cplusplus
00041 }
00042 #endif /* __cplusplus */
00043 
00044 #endif /* SORT_H */
00045 
00046 
00047    
00048