Resolve compile error.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 18 Sep 2008 22:29:34 +0000 (22:29 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 18 Sep 2008 22:29:34 +0000 (22:29 +0000)
[r22101]

type.h

diff --git a/type.h b/type.h
index 66f57b8..3304c1e 100644 (file)
--- a/type.h
+++ b/type.h
@@ -173,7 +173,7 @@ type_t *skip_typeref(type_t *type);
  * Return the type qualifier set of a type. If skip_array_type
  * is true, skip all array types.
  */
-type_qualifiers_t get_type_qualifier(type_t *type, bool skip_array_type);
+type_qualifiers_t get_type_qualifier(const type_t *type, bool skip_array_type);
 
 /**
  * returns size of an atomic type kind in bytes