From 37262fb2288c38553cc8c8f36e59782273c83e7d Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 4 Nov 2015 11:27:50 +0100 Subject: Remove public exports of gl_common and libc --- src/api/osmesa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/osmesa') diff --git a/src/api/osmesa/mod.rs b/src/api/osmesa/mod.rs index 065ffc6..02c43a1 100644 --- a/src/api/osmesa/mod.rs +++ b/src/api/osmesa/mod.rs @@ -106,7 +106,7 @@ impl GlContext for OsMesaContext { unsafe { osmesa_sys::OSMesaGetCurrentContext() == self.context } } - fn get_proc_address(&self, addr: &str) -> *const libc::c_void { + fn get_proc_address(&self, addr: &str) -> *const () { unsafe { let c_str = CString::new(addr.as_bytes().to_vec()).unwrap(); mem::transmute(osmesa_sys::OSMesaGetProcAddress(mem::transmute(c_str.as_ptr()))) -- cgit v1.2.3