chiark / gitweb /
Add __attribute__((const, pure, format)) in various places
[elogind.git] / src / journal / sd-journal.c
index 15239b5688d8bde6743d80d13f3726b50ff6d77b..d81e4ddfa94b3dd3d52063e2d5ac3c29e4408285 100644 (file)
@@ -498,7 +498,7 @@ static int compare_entry_order(JournalFile *af, Object *_ao,
         return 0;
 }
 
-static int compare_with_location(JournalFile *af, Object *ao, Location *l) {
+_pure_ static int compare_with_location(JournalFile *af, Object *ao, Location *l) {
         uint64_t a;
 
         assert(af);