Skip to content

Commit

Permalink
Added comment about __qsort_r_compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
yugr committed Dec 25, 2024
1 parent 9c7f131 commit 8576f30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sortchecker.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ EXPORT int heapsort(void *data, size_t n, size_t sz, cmp_fun_t cmp);
EXPORT int mergesort(void *data, size_t n, size_t sz, cmp_fun_t cmp);
#ifndef __APPLE__
// TODO: order of qsort_r arguments is different on Darwin
// and in __qsort_r_compat on FreeBSD
EXPORT void qsort_r(void *data, size_t n, size_t sz, cmp_r_fun_t cmp, void *arg);
#endif
EXPORT void *dlopen(const char *filename, int flag);
Expand Down

0 comments on commit 8576f30

Please sign in to comment.