tgsi: add const qualifier
authorKeith Whitwell <keithw@vmware.com>
Sat, 12 Sep 2009 21:04:36 +0000 (14:04 -0700)
committerKeith Whitwell <keithw@vmware.com>
Sat, 12 Sep 2009 21:04:36 +0000 (14:04 -0700)
src/gallium/auxiliary/tgsi/tgsi_sanity.c
src/gallium/auxiliary/tgsi/tgsi_sanity.h

index 8a13885..53e13b3 100644 (file)
@@ -358,7 +358,7 @@ epilog(
 
 boolean
 tgsi_sanity_check(
-   struct tgsi_token *tokens )
+   const struct tgsi_token *tokens )
 {
    struct sanity_check_ctx ctx;
 
index ca45e94..52263ff 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
  */
 boolean
 tgsi_sanity_check(
-   struct tgsi_token *tokens );
+   const struct tgsi_token *tokens );
 
 #if defined __cplusplus
 }