diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2005-07-20 23:24:55 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2005-07-20 23:24:55 +0000 |
commit | 3e8efc3753e0aa248ba91f42a05a8794e4343f3d (patch) | |
tree | eced5ae23ee3c0d95a446d405fe7b6d5f33b4a83 /src/mesa/drivers/dri/r300/r300_context.c | |
parent | aeb0ee771b1ba82231a2d6caf8fb3371ad0e59ec (diff) |
Clean up warnings in r300 code by making some symbols static, adding prototypes
for others, and being cleaner with types in fragment/vertex program structures.
One warning in r300_shader.c is still concerning.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index 7dedf2f5e4..9100ac2565 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -40,6 +40,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "matrix.h" #include "extensions.h" #include "state.h" +#include "bufferobj.h" #include "swrast/swrast.h" #include "swrast_setup/swrast_setup.h" @@ -191,7 +192,7 @@ static const struct tnl_pipeline_stage *r300_pipeline[] = { 0, }; -void r300BufferData(GLcontext *ctx, GLenum target, GLsizeiptrARB size, +static void r300BufferData(GLcontext *ctx, GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage, struct gl_buffer_object *obj) { r300ContextPtr rmesa = R300_CONTEXT(ctx); @@ -239,7 +240,7 @@ void r300BufferData(GLcontext *ctx, GLenum target, GLsizeiptrARB size, #endif } -void r300DeleteBuffer(GLcontext *ctx, struct gl_buffer_object *obj) +static void r300DeleteBuffer(GLcontext *ctx, struct gl_buffer_object *obj) { r300ContextPtr rmesa = R300_CONTEXT(ctx); |