lots of functions made static (some had to be moved)
This commit is contained in:
parent
463564076f
commit
3d15a468cd
11 changed files with 884 additions and 916 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue