[12kq]l: remove unix compat code for cputime()

This commit is contained in:
cinap_lenrek 2020-12-19 19:15:02 +01:00
parent 0527345e0a
commit 08c1622b0d
4 changed files with 0 additions and 84 deletions

View file

@ -1,12 +0,0 @@
double
cputime(void)
{
long t[4];
long times(long*);
int i;
times(t);
for(i=1; i<4; i++)
t[0] += t[i];
return t[0] / 100.;
}

View file

@ -1,12 +0,0 @@
double
cputime(void)
{
long t[4];
long times(long*);
int i;
times(t);
for(i=1; i<4; i++)
t[0] += t[i];
return t[0] / 100.;
}

View file

@ -1,30 +0,0 @@
double
cputime(void)
{
long t[4];
long times(long*);
int i;
times(t);
for(i=1; i<4; i++)
t[0] += t[i];
return t[0] / 100.;
}
long
seek(int f, long o, int p)
{
long lseek(int, long, int);
return lseek(f, o, p);
}
int
create(char *n, int m, long p)
{
int creat(char*, int);
if(m != 1)
return -1;
return creat(n, p);
}

View file

@ -1,30 +0,0 @@
double
cputime(void)
{
long t[4];
long times(long*);
int i;
times(t);
for(i=1; i<4; i++)
t[0] += t[i];
return t[0] / 100.;
}
long
seek(int f, long o, int p)
{
long lseek(int, long, int);
return lseek(f, o, p);
}
int
create(char *n, int m, long p)
{
int creat(char*, int);
if(m != 1)
return -1;
return creat(n, p);
}