mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
util: mark page_size() as pure
This commit is contained in:
parent
3c575b6417
commit
2e8574290d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user