Remove public exports of gl_common and libc

This commit is contained in:
Pierre Krieger 2015-11-04 11:27:50 +01:00
parent 439d25168e
commit 37262fb228
22 changed files with 29 additions and 52 deletions

View file

@ -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)

View file

@ -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)
}