From 5ecc055c068ccd13c4e4129a97a2aec4f505866e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 14:55:48 +0000 Subject: Fix lax prototypes. --- pugl/pugl_internal.h | 2 +- pugl/pugl_x11.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 15e2f0a..61d287a 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -64,7 +64,7 @@ puglGetModifiers(PuglView* view) return view->mods; } -void +static inline void puglDefaultReshape(PuglView* view, int width, int height) { glMatrixMode(GL_PROJECTION); diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c index f3debec..16b0cd7 100644 --- a/pugl/pugl_x11.c +++ b/pugl/pugl_x11.c @@ -169,7 +169,7 @@ puglDestroy(PuglView* view) free(view); } -void +static void puglReshape(PuglView* view, int width, int height) { glXMakeCurrent(view->impl->display, view->impl->win, view->impl->ctx); @@ -184,7 +184,7 @@ puglReshape(PuglView* view, int width, int height) view->height = height; } -void +static void puglDisplay(PuglView* view) { glXMakeCurrent(view->impl->display, view->impl->win, view->impl->ctx); -- cgit v1.2.3