Drup minf/maxf from util.h, they are unused

darcs-hash:20060731162550-ac50b-6b4d29d73ef7d672c3c0f9070b528b96b9ec0c16.gz
This commit is contained in:
axel 2006-08-01 02:25:50 +10:00
parent 109e7455a8
commit 09f9d43be3
2 changed files with 0 additions and 22 deletions

12
util.c
View file

@ -50,18 +50,6 @@
*/ */
#define SB_MAX_SIZE 32767 #define SB_MAX_SIZE 32767
float minf( float a,
float b )
{
return a<b?a:b;
}
float maxf( float a,
float b )
{
return a>b?a:b;
}
int mini( int a, int mini( int a,
int b ) int b )

10
util.h
View file

@ -160,16 +160,6 @@ int maxi( int a, int b );
*/ */
int mini( 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 All the datastuctures below autoresize. The queue, stack and
priority queue are all impemented using an array and are guaranteed priority queue are all impemented using an array and are guaranteed