r600g: make r600_db_format static.
authorDave Airlie <airlied@redhat.com>
Mon, 2 Aug 2010 04:31:49 +0000 (14:31 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Aug 2010 04:31:49 +0000 (14:31 +1000)
this isn't used anywhere else yet.

src/gallium/drivers/r600/r600_state.c

index 0191070daa9d67a4664eb78db59788aeae8f7cf7..b27d9d55575d752e5fdfa28a644a5054d00176c6 100644 (file)
@@ -667,7 +667,7 @@ static struct radeon_state *r600_cb0(struct r600_context *rctx)
        return rstate;
 }
 
-int r600_db_format(unsigned pformat, unsigned *format)
+static int r600_db_format(unsigned pformat, unsigned *format)
 {
        switch (pformat) {
        case PIPE_FORMAT_Z24X8_UNORM: