diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-11-04 11:27:50 +0100 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-11-09 08:46:52 +0100 |
commit | 37262fb2288c38553cc8c8f36e59782273c83e7d (patch) | |
tree | 8107afeac457b2ffcc2f839df407f5857a2cf37c /src/platform/linux | |
parent | 439d25168e0145bb563c2675ce490c521448f4ba (diff) | |
download | glutin-37262fb2288c38553cc8c8f36e59782273c83e7d.tar.gz glutin-37262fb2288c38553cc8c8f36e59782273c83e7d.zip |
Remove public exports of gl_common and libc
Diffstat (limited to 'src/platform/linux')
-rw-r--r-- | src/platform/linux/api_dispatch.rs | 2 | ||||
-rw-r--r-- | src/platform/linux/mod.rs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/platform/linux/api_dispatch.rs b/src/platform/linux/api_dispatch.rs index aa1ba58..a3c3bf9 100644 --- a/src/platform/linux/api_dispatch.rs +++ b/src/platform/linux/api_dispatch.rs @@ -359,7 +359,7 @@ impl GlContext for Window { } #[inline] - fn get_proc_address(&self, addr: &str) -> *const libc::c_void { + fn get_proc_address(&self, addr: &str) -> *const () { match self { &Window::X(ref w) => w.get_proc_address(addr), &Window::Wayland(ref w) => w.get_proc_address(addr) diff --git a/src/platform/linux/mod.rs b/src/platform/linux/mod.rs index c984926..d010a89 100644 --- a/src/platform/linux/mod.rs +++ b/src/platform/linux/mod.rs @@ -7,7 +7,6 @@ use GlAttributes; use GlContext; use PixelFormat; use PixelFormatRequirements; -use libc; use api::osmesa::{self, OsMesaContext}; @@ -45,7 +44,7 @@ impl GlContext for HeadlessContext { } #[inline] - fn get_proc_address(&self, addr: &str) -> *const libc::c_void { + fn get_proc_address(&self, addr: &str) -> *const () { self.0.get_proc_address(addr) } |