misc changes
This commit is contained in:
parent
ae905b0ebf
commit
b6514b3374
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
bspc:
|
||||
cc bspc.c -o bspc -lxcb
|
||||
cc bspc.c -o bspc -lxcb -Wall -Wextra -std=c99
|
||||
|
||||
clean:
|
||||
rm bspc
|
||||
|
|
3
bspc.c
3
bspc.c
|
@ -35,6 +35,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <xcb/xcb.h>
|
||||
#include <poll.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
@ -253,7 +254,7 @@ char *send_msg_to_bspwm(char *args[], int count)
|
|||
err("Failed to send the data.\n");
|
||||
}
|
||||
|
||||
int ret = EXIT_SUCCESS, nb;
|
||||
int nb;
|
||||
|
||||
struct pollfd fds[] = {
|
||||
{sock_fd, POLLIN, 0},
|
||||
|
|
Loading…
Reference in New Issue