X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshutdownd%2Fshutdownd.c;h=461a7261f43b675decbc99cbecf78f3722122d53;hb=289f910e16d0a962e128979b67fed5f2ef668e00;hp=4c9c149a2dcbeef314d35ae532fb3e9151aa7899;hpb=b92bea5d2a9481de69bb627a7b442a9f58fca43d;p=elogind.git diff --git a/src/shutdownd/shutdownd.c b/src/shutdownd/shutdownd.c index 4c9c149a2..461a7261f 100644 --- a/src/shutdownd/shutdownd.c +++ b/src/shutdownd/shutdownd.c @@ -150,7 +150,7 @@ static void warn_wall(usec_t n, struct sd_shutdown_command *c) { } } -static usec_t when_wall(usec_t n, usec_t elapse) { +_const_ static usec_t when_wall(usec_t n, usec_t elapse) { static const struct { usec_t delay;