chiark / gitweb /
Add __attribute__((const, pure, format)) in various places
[elogind.git] / src / shared / env-util.c
index d3d4c59ab9755abb078315c3a85cf8b0874fdbaf..6a52fb960d0e8df25791b66e6375263b8bc7c353 100644 (file)
@@ -227,7 +227,7 @@ fail:
         return NULL;
 }
 
-static bool env_match(const char *t, const char *pattern) {
+_pure_ static bool env_match(const char *t, const char *pattern) {
         assert(t);
         assert(pattern);