Properly declare buf as extern and fix all unused-warnings

This commit is contained in:
Laslo Hunhold 2017-09-17 17:21:54 +02:00 committed by Aaron Marcher
parent eea99fc0ac
commit 914440b4fc
No known key found for this signature in database
GPG key ID: 74B048E5C2474F9A
3 changed files with 6 additions and 3 deletions

View file

@ -12,7 +12,7 @@ X11LIB = /usr/X11R6/lib
# flags
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused -Os
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
LDFLAGS = -L$(X11LIB) -s
LDLIBS = -lX11