* fix dumb typo
* extern "C" the declaration This commit was SVN r6189.
Этот коммит содержится в:
родитель
b81477086b
Коммит
bef8232071
@ -17,10 +17,18 @@
|
|||||||
#ifndef OMPI_QSORT_H
|
#ifndef OMPI_QSORT_H
|
||||||
#define OMPI_QSORT_H
|
#define OMPI_QSORT_H
|
||||||
|
|
||||||
#ifdef HAV_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h> /* for size_t */
|
#include <sys/types.h> /* for size_t */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
void ompi_qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void*));
|
void ompi_qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void*));
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user