X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fsleep-config.h;h=238775dc4c0333dd94de951587222d0a57198240;hb=6357ed92bd48120109f246b34e0fa8977a2caedc;hp=51f4621844d26aae453d86b1cc7f6d6584794baa;hpb=0b42d98e062f854bff6d54ab31b1d331685cc82d;p=elogind.git diff --git a/src/shared/sleep-config.h b/src/shared/sleep-config.h index 51f462184..238775dc4 100644 --- a/src/shared/sleep-config.h +++ b/src/shared/sleep-config.h @@ -1,3 +1,5 @@ +#pragma once + /*** This file is part of systemd. @@ -17,10 +19,13 @@ along with systemd; If not, see . ***/ -#pragma once - +#if 0 /// UNNEEDED by elogind int parse_sleep_config(const char *verb, char ***modes, char ***states); int can_sleep(const char *verb); int can_sleep_disk(char **types); int can_sleep_state(char **types); +#else +#include +int can_sleep(Manager* m, const char *verb); +#endif // 0