1
1
openmpi/opal/util/qsort.h

35 строки
913 B
C
Исходник Обычный вид История

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef OPAL_QSORT_H
#define OPAL_QSORT_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* for size_t */
#endif
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
void opal_qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void*));
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif