summaryrefslogtreecommitdiff
path: root/src/shared/sleep-config.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-05-22 09:12:52 +0200
committerSven Eden <yamakuzure@gmx.net>2017-05-22 09:12:52 +0200
commit4ca1b42f5ce901a02ada2006c06bf4584785e172 (patch)
tree78a6a3cb44f214aa936a762634dd4b1e70c640ba /src/shared/sleep-config.h
parent57095c3830fb5600442f3d3e92773096061bc263 (diff)
Prep v229: Consolidate system sleep functions.
Move sleep relevant functions from shared/sleep-config.* and login/logind-action.* into login/logind-sleep.* - they aren't used outside of elogind anyway.
Diffstat (limited to 'src/shared/sleep-config.h')
-rw-r--r--src/shared/sleep-config.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/shared/sleep-config.h b/src/shared/sleep-config.h
deleted file mode 100644
index 0bfbaeff3..000000000
--- a/src/shared/sleep-config.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/***
- This file is part of systemd.
-
- Copyright 2013 Zbigniew Jędrzejewski-Szmek
-
- systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 of the License, or
- (at your option) any later version.
-
- systemd is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with systemd; If not, see <http://www.gnu.org/licenses/>.
-***/
-
-#pragma once
-
-#if 0 /// UNNEEDED by elogind
-int parse_sleep_config(const char *verb, char ***modes, char ***states);
-#endif // 0
-
-int can_sleep(const char *verb);
-int can_sleep_disk(char **types);
-int can_sleep_state(char **types);