silence warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Mar 2004 14:58:39 +0000 (14:58 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Mar 2004 14:58:39 +0000 (14:58 +0000)
progs/miniglx/miniglxtest.c

index 394f3e25384b420c585e7b20b60d245a7a3f1384..ecc5786b73aba8415d9e1118c18bc2fe8c3a6b90 100644 (file)
@@ -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;