From: Brian Paul Date: Thu, 25 Mar 2004 14:58:39 +0000 (+0000) Subject: silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=209fee4d33429bc7d609e4439ab6c5a50c76a1d9;p=mesa.git silence warnings --- diff --git a/progs/miniglx/miniglxtest.c b/progs/miniglx/miniglxtest.c index 394f3e25384..ecc5786b73a 100644 --- a/progs/miniglx/miniglxtest.c +++ b/progs/miniglx/miniglxtest.c @@ -1,4 +1,4 @@ -/* $Id: miniglxtest.c,v 1.2 2003/08/23 01:28:59 jonsmirl Exp $ */ +/* $Id: miniglxtest.c,v 1.3 2004/03/25 14:58:39 brianp Exp $ */ /* * Test the mini GLX interface. @@ -80,7 +80,7 @@ static Window make_rgb_db_window( Display *dpy, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, -#if !FRONT_BUFFER +#if !FRONTBUFFER GLX_DOUBLEBUFFER, #endif None }; @@ -142,7 +142,7 @@ static void event_loop( Display *dpy, Window win ) } -int foo( ) +static int foo( void ) { Display *dpy; Window win;