Skip to content

Commit

Permalink
Remove unused macros
Browse files Browse the repository at this point in the history
  • Loading branch information
rasendubi committed May 27, 2017
1 parent 8795c2f commit 050f235
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions smalloc/lib.rs
Expand Up @@ -92,14 +92,6 @@ extern crate rand;

use ::core::ptr;

macro_rules! size_of {
( $t:ty ) => ( ::core::mem::size_of::<$t>() )
}

macro_rules! isize_of {
( $t:ty ) => ( ::core::mem::size_of::<$t>() as isize )
}

fn psize() -> usize {
::core::mem::size_of::<*mut u8>()
}
Expand Down

0 comments on commit 050f235

Please sign in to comment.