mark functions with const and pure attributes
[gnulib.git] / lib / file-type.h
index 0d1b9a4..d7c66e9 100644 (file)
@@ -24,6 +24,6 @@
 # include <sys/types.h>
 # include <sys/stat.h>
 
-char const *file_type (struct stat const *);
+char const *file_type (struct stat const *) _GL_ATTRIBUTE_PURE;
 
 #endif /* FILE_TYPE_H */