diff options
author | Brian Paul <[email protected]> | 2000-06-14 21:55:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-06-14 21:55:11 +0000 |
commit | c3501b01d1e3c8d107ee4da79549652c26bb05bc (patch) | |
tree | 8b3d1b88253f5ca8d4a1bc2d3d8eb2f59082a30d /src/mesa | |
parent | 9b08f27000b94364fb2045d2e305edbfb46e49ff (diff) |
added dummy function to silence compiler warning
Diffstat (limited to 'src/mesa')
-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 cb73a856794..28cd7a42642 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 6057d7d7320..817d4bb606d 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 f8b29faaddc..6f7cc9c2214 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 46e8c684cab..1fbef3d26d1 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 99ea05e7129..2578428178f 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 a32815bf625..f61e369edc2 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 |