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 /src/mesa/drivers/svga | |
parent | 9b08f27000b94364fb2045d2e305edbfb46e49ff (diff) |
added dummy function to silence compiler warning
Diffstat (limited to 'src/mesa/drivers/svga')
-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 |
5 files changed, 56 insertions, 5 deletions
diff --git a/src/mesa/drivers/svga/svgamesa15.c b/src/mesa/drivers/svga/svgamesa15.c index cb73a85679..28cd7a4264 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 6057d7d732..817d4bb606 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 f8b29faadd..6f7cc9c221 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 46e8c684ca..1fbef3d26d 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 99ea05e712..2578428178 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 |