chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add __attribute__((const, pure, format)) in various places
[elogind.git]
/
src
/
journal
/
sd-journal.c
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index 15239b5688d8bde6743d80d13f3726b50ff6d77b..d81e4ddfa94b3dd3d52063e2d5ac3c29e4408285 100644
(file)
--- a/
src/journal/sd-journal.c
+++ b/
src/journal/sd-journal.c
@@
-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);