mirror of
https://github.com/NickHu/sway
synced 2024-11-16 19:49:56 +01:00
swaybar: fix empty function prototypes
This commit is contained in:
parent
952453480f
commit
9932c6a1f1
2 changed files with 4 additions and 4 deletions
|
@ -19,8 +19,8 @@ bool remove_event(int fd);
|
|||
bool remove_timer(timer_t timer);
|
||||
|
||||
// Blocks and returns after sending callbacks
|
||||
void event_loop_poll();
|
||||
void event_loop_poll(void);
|
||||
|
||||
void init_event_loop();
|
||||
void init_event_loop(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue