diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-15 16:16:30 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-08-15 16:59:09 +0200 |
commit | fdcba430aeae442ab0ea12a08d96cfc3d13f57ef (patch) | |
tree | 0b5281a02743d490dcef43c0f89ec5edf0569dcf /src/shared/utmp-wtmp.h | |
parent | 4de120ee442797bc30ecfd25b4d539cac9cb56ce (diff) |
macro: const'ify MIN/MAX/... macros
We must add 'const' to local variables in statement-expressions to
guarantee that the macros can produce constant-expressions if given such.
GCC seems to ignore this, but LLVM/clang requires it (understandably).
Diffstat (limited to 'src/shared/utmp-wtmp.h')
0 files changed, 0 insertions, 0 deletions