wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 9d643150cf82c3b040679275717bf4aa345d34c8
parent e4121b422e6df6da6ec3a6104a539da63b03372f
Author: Kris Maglione <jg@suckless.org>
Date:   Tue,  6 Feb 2007 17:12:24 -0500

Get rid of libm.


Diffstat:
bar.c | 2+-
config.mk | 2+-
geom.c | 1-
3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bar.c b/bar.c @@ -100,7 +100,7 @@ draw_bar(WMScreen *s) { } if(tb) for(b = largest; b != tb->smaller; b = b->smaller) - b->brush.rect.width = floor(b->brush.rect.width * shrink); + b->brush.rect.width = (int)(b->brush.rect.width * shrink); width += tw * shrink; tb = nil; } diff --git a/config.mk b/config.mk @@ -14,7 +14,7 @@ X11LIB = /usr/X11R6/lib # includes and libs INCS = -I. -I${PREFIX}/include -I/usr/include -I${X11INC} -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -L${PREFIX}/lib -lixp -lm +LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -L${PREFIX}/lib -lixp # flags #CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" diff --git a/geom.c b/geom.c @@ -2,7 +2,6 @@ * See LICENSE file for license details. */ #include "wmii.h" -#include <math.h> Bool ispointinrect(int x, int y, XRectangle * r) {