lots of functions made static (some had to be moved)

This commit is contained in:
Albert Cahalan 2009-11-22 23:17:35 +00:00
parent 463564076f
commit 3d15a468cd
11 changed files with 884 additions and 916 deletions

View file

@ -66,15 +66,12 @@
#define my_min(x,y) ((x < y) ? (x) : (y))
int f2int(float f);
int f2dec(float f);
int f2int(float f)
static int f2int(float f)
{
return ((int)f);
}
int f2dec(float f)
static int f2dec(float f)
{
return (int)((f - f2int(f)) * 100);
}