Trivial changes: whitespace and modes.

Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
This commit is contained in:
Dan Cross 2020-01-10 14:44:21 +00:00
parent 77a0a5b519
commit fa325e9b42
1021 changed files with 5688 additions and 6193 deletions

View file

@ -53,7 +53,7 @@ crtpre(int n, mpint **m)
mpfree(u);
return crt;
return crt;
}
void

View file

@ -186,4 +186,3 @@ mplowbits0(mpint *n)
}
return k;
}

View file

@ -63,7 +63,7 @@ mpextendedgcd(mpint *a, mpint *b, mpint *v, mpint *x, mpint *y)
mpright(A, 1, A);
mpright(B, 1, B);
}
/* print("%B %B %B %B %B %B\n", u, v, A, B, C, D); */
while(iseven(v)){
mpright(v, 1, v);
@ -74,7 +74,7 @@ mpextendedgcd(mpint *a, mpint *b, mpint *v, mpint *x, mpint *y)
mpright(C, 1, C);
mpright(D, 1, D);
}
/* print("%B %B %B %B %B %B\n", u, v, A, B, C, D); */
if(mpcmp(u, v) >= 0){
mpsub(u, v, u);

View file

@ -200,4 +200,3 @@ mpfmt(Fmt *fmt)
return 0;
}
}

View file

@ -29,7 +29,7 @@ mptobe(mpint *b, uchar *p, uint n, uchar **pp)
else
return 1;
}
s = p;
e = s+n;
suppress = 1;

View file

@ -30,7 +30,7 @@ mptole(mpint *b, uchar *p, uint n, uchar **pp)
else
return 0;
}
s = p;
e = s+n;
for(i = 0; i < b->top-1; i++){

View file

@ -23,7 +23,7 @@ uvtomp(uvlong v, mpint *b)
for(s = 0; s < VLDIGITS && v != 0; s++){
b->p[s] = v;
/* !@*$&!@$ gcc gives warnings about the >> here
* when running on 64-bit machines, even though
* when running on 64-bit machines, even though
* it's in dead code. fake it out with two shifts.
if(sizeof(mpdigit) == sizeof(uvlong))
v = 0;

View file

@ -29,7 +29,7 @@ vtomp(vlong v, mpint *b)
for(s = 0; s < VLDIGITS && uv != 0; s++){
b->p[s] = uv;
/* !@*$&!@$ gcc gives warnings about the >> here
* when running on 64-bit machines, even though
* when running on 64-bit machines, even though
* it's in dead code. fake it out with two shifts.
if(sizeof(mpdigit) == sizeof(uvlong))
uv = 0;

View file

@ -1,3 +1,2 @@
#include <u.h>
#include <libc.h>