mark functions with const and pure attributes
[gnulib.git] / lib / parse-datetime.y
index d99c955..5621adc 100644 (file)
@@ -905,7 +905,7 @@ to_year (textint textyear)
   return year;
 }
 
-static table const *
+static table const * _GL_ATTRIBUTE_PURE
 lookup_zone (parser_control const *pc, char const *name)
 {
   table const *tp;