File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -428,6 +428,7 @@ extern "C" {
428
428
// Argument order of the function pointer changed in FreeBSD 14. From 14 onwards the signature
429
429
// matches the POSIX specification by having the third argument be a mutable pointer, on
430
430
// earlier versions the first argument is the mutable pointer.
431
+ #[ link_name = "qsort_r@FBSD_1.0" ]
431
432
pub fn qsort_r (
432
433
base : * mut c_void ,
433
434
num : size_t ,
Original file line number Diff line number Diff line change @@ -469,6 +469,7 @@ extern "C" {
469
469
pub fn dirname ( path : * mut c_char ) -> * mut c_char ;
470
470
pub fn basename ( path : * mut c_char ) -> * mut c_char ;
471
471
472
+ #[ link_name = "qsort_r@FBSD_1.0" ]
472
473
pub fn qsort_r (
473
474
base : * mut c_void ,
474
475
num : size_t ,
Original file line number Diff line number Diff line change @@ -508,6 +508,7 @@ extern "C" {
508
508
pub fn dirname ( path : * mut c_char ) -> * mut c_char ;
509
509
pub fn basename ( path : * mut c_char ) -> * mut c_char ;
510
510
511
+ #[ link_name = "qsort_r@FBSD_1.0" ]
511
512
pub fn qsort_r (
512
513
base : * mut c_void ,
513
514
num : size_t ,
You can’t perform that action at this time.
0 commit comments