summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-25 19:24:45 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-25 19:24:45 +0100
commit2e8574290d36801acffaf51a9a00a77b972a255b (patch)
treee5d7a2b1eb9a946bf56e207119380e20a1f24ead /src/shared/util.h
parent3c575b641716a1d21cdb1a411443a96b5399b501 (diff)
util: mark page_size() as pure
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index fc59481b99..13a0b968d3 100644
--- 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)