diff options
| author | bors <bors@rust-lang.org> | 2015-11-25 20:40:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-25 20:40:27 +0000 |
| commit | bef2af620187350a49c840099760f24acd21c861 (patch) | |
| tree | 9deb3089b49e1c4d2b88792ccdcda017619a2c96 /src/liballoc_jemalloc | |
| parent | 1bb91be05f3e947364de8f6781124003ce2404ab (diff) | |
| parent | 5fb6531903c4e425f48a859463bee20cfcc7f7c5 (diff) | |
| download | rust-bef2af620187350a49c840099760f24acd21c861.tar.gz rust-bef2af620187350a49c840099760f24acd21c861.zip | |
Auto merge of #30017 - nrc:fmt, r=brson
Diffstat (limited to 'src/liballoc_jemalloc')
| -rw-r--r-- | src/liballoc_jemalloc/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc_jemalloc/lib.rs b/src/liballoc_jemalloc/lib.rs index f2ff0593bfa..f53bc404b88 100644 --- a/src/liballoc_jemalloc/lib.rs +++ b/src/liballoc_jemalloc/lib.rs @@ -41,7 +41,7 @@ use libc::{c_int, c_void, size_t}; not(target_os = "android"), not(target_env = "musl")), link(name = "pthread"))] -extern { +extern "C" { fn je_mallocx(size: size_t, flags: c_int) -> *mut c_void; fn je_rallocx(ptr: *mut c_void, size: size_t, flags: c_int) -> *mut c_void; fn je_xallocx(ptr: *mut c_void, size: size_t, extra: size_t, flags: c_int) -> size_t; |
