chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: implement suspend/hibernate calls with inhibition logic
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 59a69a898a3b47281de7e4a7d631a7a41b40c0c6..272ab48651119b6a6e6db13b3f86a567130752cd 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-505,4
+505,6
@@
int setrlimit_closest(int resource, const struct rlimit *rlim);
int getenv_for_pid(pid_t pid, const char *field, char **_value);
+int can_sleep(const char *type);
+
#endif