chiark / gitweb /
tree-wide: sort includes in *.h
[elogind.git] / src / login / logind-action.h
index 5269237c61566fcc6e0ff9c0f9f3a9080268c049..cb2526d7003f48e79d471758ea0ad66104340870 100644 (file)
@@ -35,6 +35,7 @@ typedef enum HandleAction {
         _HANDLE_ACTION_INVALID = -1
 } HandleAction;
 
+#include "logind-inhibit.h"
 #include "logind.h"
 
 int manager_handle_action(
@@ -44,7 +45,7 @@ int manager_handle_action(
                 bool ignore_inhibited,
                 bool is_edge);
 
-int shutdown_or_sleep(HandleAction action);
+int shutdown_or_sleep(Manager *m, HandleAction action);
 
 const char* handle_action_to_string(HandleAction h) _const_;
 HandleAction handle_action_from_string(const char *s) _pure_;