aboutsummaryrefslogtreecommitdiff
path: root/swayidle/main.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-30 13:41:36 +0200
committerGitHub <noreply@github.com>2018-09-30 13:41:36 +0200
commit7355959d7f28714e77f43f987431c664f476d8eb (patch)
tree112f684404755d6924d7338507eaef07500ced1f /swayidle/main.c
parent98b524abd767149337cb6e1bab5905d79f25254b (diff)
parent1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (diff)
Merge pull request #2730 from ivyl/remove_cap_leftovers
Remove libcap/prctl artifacts
Diffstat (limited to 'swayidle/main.c')
-rw-r--r--swayidle/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swayidle/main.c b/swayidle/main.c
index 678d622f..5b6c95a7 100644
--- a/swayidle/main.c
+++ b/swayidle/main.c
@@ -92,7 +92,7 @@ static int release_lock(void *data) {
return 0;
}
-void acquire_sleep_lock() {
+void acquire_sleep_lock(void) {
sd_bus_message *msg = NULL;
sd_bus_error error = SD_BUS_ERROR_NULL;
struct sd_bus *bus;
@@ -161,7 +161,7 @@ static int dbus_event(int fd, uint32_t mask, void *data) {
return 1;
}
-void setup_sleep_listener() {
+void setup_sleep_listener(void) {
struct sd_bus *bus;
int ret = sd_bus_default_system(&bus);