chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c575b6
)
util: mark page_size() as pure
author
Lennart Poettering
<lennart@poettering.net>
Tue, 25 Nov 2014 18:24:45 +0000
(19:24 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 25 Nov 2014 18:24:45 +0000
(19:24 +0100)
src/shared/util.h
patch
|
blob
|
history
diff --git
a/src/shared/util.h
b/src/shared/util.h
index fc59481b997090441a0ada7aff022f59e58c55c9..13a0b968d30617150b041765f3d8cf295365f1a9 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-112,7
+112,7
@@
#define ANSI_HIGHLIGHT_OFF "\x1B[0m"
#define ANSI_ERASE_TO_END_OF_LINE "\x1B[K"
-size_t page_size(void);
+size_t page_size(void)
_pure_
;
#define PAGE_ALIGN(l) ALIGN_TO((l), page_size())
#define streq(a,b) (strcmp((a),(b)) == 0)