chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unit: add ConditionACPower=
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 25b349a17a0c1ff9be109963635b7a69ee521186..bb6602fb243636109f8cd774c0d6be9ff72c535f 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-561,3
+561,5
@@
const char *draw_special_char(DrawSpecialChar ch);
char *strreplace(const char *text, const char *old_string, const char *new_string);
char *strip_tab_ansi(char **p, size_t *l);
+
+int on_ac_power(void);