summaryrefslogtreecommitdiffstats
path: root/progs/miniglx
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-03-25 14:58:39 +0000
committerBrian Paul <[email protected]>2004-03-25 14:58:39 +0000
commit209fee4d33429bc7d609e4439ab6c5a50c76a1d9 (patch)
treef546a117765a70fd5c692f631725acfd07db0ee6 /progs/miniglx
parentbb9054b96d6ffe805b253882fae0fd16aea14c94 (diff)
silence warnings
Diffstat (limited to 'progs/miniglx')
-rw-r--r--progs/miniglx/miniglxtest.c6
1 files changed, 3 insertions, 3 deletions
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;