From 09f9d43be3973b1ce0c18906c5ae63471c01edc0 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 1 Aug 2006 02:25:50 +1000 Subject: [PATCH] Drup minf/maxf from util.h, they are unused darcs-hash:20060731162550-ac50b-6b4d29d73ef7d672c3c0f9070b528b96b9ec0c16.gz --- util.c | 12 ------------ util.h | 10 ---------- 2 files changed, 22 deletions(-) diff --git a/util.c b/util.c index ace6fa270..b9f188880 100644 --- a/util.c +++ b/util.c @@ -50,18 +50,6 @@ */ #define SB_MAX_SIZE 32767 -float minf( float a, - float b ) -{ - return ab?a:b; -} int mini( int a, int b ) diff --git a/util.h b/util.h index b2c6fec7b..5d7d3740f 100644 --- a/util.h +++ b/util.h @@ -160,16 +160,6 @@ int maxi( int a, int b ); */ int mini( int a, int b ); -/** - Returns the larger of two floats -*/ -float maxf( float a, float b ); - -/** - Returns the smaller of two floats -*/ -float minf( float a, float b ); - /* All the datastuctures below autoresize. The queue, stack and priority queue are all impemented using an array and are guaranteed