sob

Simple output bar
git clone https://git.sinitax.com/codemadness/sob
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 88b89ef7b2ca23aaa444507ba388d05a5d52fe7c
parent 953439a2efe7bf8be200be0d384377d1d96f4d48
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 10 Oct 2014 18:57:02 +0000

wchar: make glibc happy

Diffstat:
Mconfig.mk | 10+++++-----
Msob.c | 2--
2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/config.mk b/config.mk @@ -11,15 +11,15 @@ INCS = -I. -I/usr/include LIBS = -L/usr/lib -lc -lncurses # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE -D_XOPEN_SOURCE # debug -#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} -#LDFLAGS = ${LIBS} +CFLAGS = -g -std=c99 -pedantic -Wall -Wextra -O0 ${INCS} ${CPPFLAGS} +LDFLAGS = ${LIBS} # release -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +#LDFLAGS = -s ${LIBS} # compiler and linker CC = cc diff --git a/sob.c b/sob.c @@ -11,8 +11,6 @@ #include <sys/select.h> #include <unistd.h> #include <termios.h> - -#define __XOPEN_SOURCE #include <wchar.h> #include "arg.h"