From e64f6fd845028c6b791af87dfb58d9fee412ab97 Mon Sep 17 00:00:00 2001 From: edunham Date: Wed, 2 Nov 2016 12:40:05 -0700 Subject: [PATCH] address PR comments --- Cargo.toml | 2 +- configure | 2 +- src/freetype.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 08a199f..833cef6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,5 +11,5 @@ name = "freetype" crate-type = ["rlib"] [dependencies] -libc = "*" servo-freetype-sys = "4.0.2" +libc = "0.2" diff --git a/configure b/configure index 119b989..ed6c06e 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/bash -SRCDIR = "$(cd $(dirname $0) && pwd)" +SRCDIR="$(cd $(dirname $0) && pwd)" sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile diff --git a/src/freetype.rs b/src/freetype.rs index 9ffe432..c2e761a 100644 --- a/src/freetype.rs +++ b/src/freetype.rs @@ -21,9 +21,9 @@ pub type FT_Memory = *mut struct_FT_MemoryRec_; pub type FT_Alloc_Func = extern fn(mem: FT_Memory, size: c_long) -> *mut c_void; pub type FT_Free_Func = extern fn(mem: FT_Memory, block: *mut c_void); pub type FT_Realloc_Func = extern fn(mem: FT_Memory, - cur_size: c_long, - new_size: c_long, - block: *mut c_void) -> *mut c_void; + cur_size: c_long, + new_size: c_long, + block: *mut c_void) -> *mut c_void; #[repr(C)] pub struct struct_FT_MemoryRec_ {