diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-11-23 15:32:40 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-11-24 11:23:17 +1300 |
| commit | 1f1a1e6595cb9472927cd91d523982047832aa7a (patch) | |
| tree | 68f29cad27493cb7493d5bd2c786cecdaf45f3b6 /src/liballoc_jemalloc/lib.rs | |
| parent | e24fffef8a560ddf968a866db8da96bc461f4038 (diff) | |
| download | rust-1f1a1e6595cb9472927cd91d523982047832aa7a.tar.gz rust-1f1a1e6595cb9472927cd91d523982047832aa7a.zip | |
rustfmt: liballoc, liballoc_*, libarena
Diffstat (limited to 'src/liballoc_jemalloc/lib.rs')
| -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; |
