diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-14 21:55:11 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-14 21:55:11 +0000 |
commit | c3501b01d1e3c8d107ee4da79549652c26bb05bc (patch) | |
tree | 8b3d1b88253f5ca8d4a1bc2d3d8eb2f59082a30d | |
parent | 9b08f27000b94364fb2045d2e305edbfb46e49ff (diff) | |
download | external_mesa3d-c3501b01d1e3c8d107ee4da79549652c26bb05bc.zip external_mesa3d-c3501b01d1e3c8d107ee4da79549652c26bb05bc.tar.gz external_mesa3d-c3501b01d1e3c8d107ee4da79549652c26bb05bc.tar.bz2 |
added dummy function to silence compiler warning
-rw-r--r-- | src/mesa/drivers/svga/svgamesa15.c | 12 | ||||
-rw-r--r-- | src/mesa/drivers/svga/svgamesa16.c | 12 | ||||
-rw-r--r-- | src/mesa/drivers/svga/svgamesa24.c | 12 | ||||
-rw-r--r-- | src/mesa/drivers/svga/svgamesa32.c | 13 | ||||
-rw-r--r-- | src/mesa/drivers/svga/svgamesa8.c | 12 | ||||
-rw-r--r-- | src/mesa/x86/3dnow.c | 15 |
6 files changed, 68 insertions, 8 deletions
diff --git a/src/mesa/drivers/svga/svgamesa15.c b/src/mesa/drivers/svga/svgamesa15.c index cb73a85..28cd7a4 100644 --- a/src/mesa/drivers/svga/svgamesa15.c +++ b/src/mesa/drivers/svga/svgamesa15.c @@ -1,4 +1,4 @@ -/* $Id: svgamesa15.c,v 1.5 2000/01/31 22:10:06 tanner Exp $ */ +/* $Id: svgamesa15.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -198,4 +198,14 @@ void __read_rgba_pixels15( const GLcontext *ctx, } } +#else + + +/* silence compiler warning */ +extern void _mesa_svga15_dummy_function(void); +void _mesa_svga15_dummy_function(void) +{ +} + + #endif diff --git a/src/mesa/drivers/svga/svgamesa16.c b/src/mesa/drivers/svga/svgamesa16.c index 6057d7d..817d4bb 100644 --- a/src/mesa/drivers/svga/svgamesa16.c +++ b/src/mesa/drivers/svga/svgamesa16.c @@ -1,4 +1,4 @@ -/* $Id: svgamesa16.c,v 1.5 2000/01/31 22:10:06 tanner Exp $ */ +/* $Id: svgamesa16.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -200,4 +200,14 @@ void __read_rgba_pixels16( const GLcontext *ctx, } } +#else + + +/* silence compiler warning */ +extern void _mesa_svga16_dummy_function(void); +void _mesa_svga16_dummy_function(void) +{ +} + + #endif diff --git a/src/mesa/drivers/svga/svgamesa24.c b/src/mesa/drivers/svga/svgamesa24.c index f8b29fa..6f7cc9c 100644 --- a/src/mesa/drivers/svga/svgamesa24.c +++ b/src/mesa/drivers/svga/svgamesa24.c @@ -1,4 +1,4 @@ -/* $Id: svgamesa24.c,v 1.6 2000/01/31 22:10:07 tanner Exp $ */ +/* $Id: svgamesa24.c,v 1.7 2000/06/14 21:59:07 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -233,4 +233,14 @@ void __read_rgba_pixels24( const GLcontext *ctx, } } +#else + + +/* silence compiler warning */ +extern void _mesa_svga24_dummy_function(void); +void _mesa_svga24_dummy_function(void) +{ +} + + #endif diff --git a/src/mesa/drivers/svga/svgamesa32.c b/src/mesa/drivers/svga/svgamesa32.c index 46e8c68..1fbef3d 100644 --- a/src/mesa/drivers/svga/svgamesa32.c +++ b/src/mesa/drivers/svga/svgamesa32.c @@ -1,4 +1,4 @@ -/* $Id: svgamesa32.c,v 1.6 2000/01/31 22:10:07 tanner Exp $ */ +/* $Id: svgamesa32.c,v 1.7 2000/06/14 21:59:07 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -206,5 +206,16 @@ void __read_rgba_pixels32( const GLcontext *ctx, } } + +#else + + +/* silence compiler warning */ +extern void _mesa_svga32_dummy_function(void); +void _mesa_svga32_dummy_function(void) +{ +} + + #endif diff --git a/src/mesa/drivers/svga/svgamesa8.c b/src/mesa/drivers/svga/svgamesa8.c index 99ea05e..2578428 100644 --- a/src/mesa/drivers/svga/svgamesa8.c +++ b/src/mesa/drivers/svga/svgamesa8.c @@ -1,4 +1,4 @@ -/* $Id: svgamesa8.c,v 1.5 2000/01/31 22:10:07 tanner Exp $ */ +/* $Id: svgamesa8.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -176,4 +176,14 @@ void __read_ci32_pixels8( const GLcontext *ctx, } +#else + + +/* silence compiler warning */ +extern void _mesa_svga8_dummy_function(void); +void _mesa_svga8_dummy_function(void) +{ +} + + #endif diff --git a/src/mesa/x86/3dnow.c b/src/mesa/x86/3dnow.c index a32815b..f61e369 100644 --- a/src/mesa/x86/3dnow.c +++ b/src/mesa/x86/3dnow.c @@ -1,10 +1,10 @@ -/* $Id: 3dnow.c,v 1.3 1999/11/12 04:57:22 kendallb Exp $ */ +/* $Id: 3dnow.c,v 1.4 2000/06/14 21:55:11 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.1 + * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -186,4 +186,13 @@ void gl_init_3dnow_asm_transforms (void) gl_project_clipped_v16 = gl_3dnow_project_clipped_vertices; } +#else + + +/* silence compiler warning */ +extern void _mesa_3dnow_dummy_function(void); +void _mesa_3dnow_dummy_function(void) +{ +} + #endif |