Fix missing prototypes

i3 will now compile with no warnings when -Wmissing-prototypes is used.
This commit is contained in:
Orestis Floros
2018-04-21 02:28:31 +03:00
parent 2a9522dda4
commit a65914f338
11 changed files with 42 additions and 42 deletions

View File

@ -34,7 +34,7 @@ static void read_server_x11_packet_cb(EV_P_ ev_io *w, int revents);
static char *sun_path = NULL;
void cleanup_socket(void) {
static void cleanup_socket(void) {
if (sun_path != NULL) {
unlink(sun_path);
free(sun_path);