aboutsummaryrefslogtreecommitdiff
path: root/swaybar/event_loop.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-09-16 11:24:24 +0100
committerIan Fan <ianfan0@gmail.com>2018-09-18 11:36:33 +0100
commit9932c6a1f1f295531989d9e76494b0ca43509cd4 (patch)
tree6c3e6b2a19d133d7f1823ff0180657c2bb52153e /swaybar/event_loop.c
parent952453480f6764eb583b2507c7af83e242e0630a (diff)
swaybar: fix empty function prototypes
Diffstat (limited to 'swaybar/event_loop.c')
-rw-r--r--swaybar/event_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/event_loop.c b/swaybar/event_loop.c
index bc4053be..686b9962 100644
--- a/swaybar/event_loop.c
+++ b/swaybar/event_loop.c
@@ -105,7 +105,7 @@ bool remove_timer(timer_t timer) {
return false;
}
-void event_loop_poll() {
+void event_loop_poll(void) {
poll(event_loop.fds.items, event_loop.fds.length, -1);
for (int i = 0; i < event_loop.fds.length; ++i) {
@@ -146,7 +146,7 @@ void event_loop_poll() {
}
}
-void init_event_loop() {
+void init_event_loop(void) {
event_loop.fds.length = 0;
event_loop.fds.capacity = 10;
event_loop.fds.items = malloc(