mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Drup minf/maxf from util.h, they are unused
darcs-hash:20060731162550-ac50b-6b4d29d73ef7d672c3c0f9070b528b96b9ec0c16.gz
This commit is contained in:
parent
109e7455a8
commit
09f9d43be3
2 changed files with 0 additions and 22 deletions
12
util.c
12
util.c
|
@ -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
10
util.h
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue