From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: 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 --- src/libmp/port/crt.c | 2 +- src/libmp/port/mpaux.c | 1 - src/libmp/port/mpextendedgcd.c | 4 ++-- src/libmp/port/mpfmt.c | 1 - src/libmp/port/mptobe.c | 2 +- src/libmp/port/mptole.c | 2 +- src/libmp/port/mptouv.c | 2 +- src/libmp/port/mptov.c | 2 +- src/libmp/port/os.h | 1 - 9 files changed, 7 insertions(+), 10 deletions(-) (limited to 'src/libmp') diff --git a/src/libmp/port/crt.c b/src/libmp/port/crt.c index 6dc6eea6..85646abf 100644 --- a/src/libmp/port/crt.c +++ b/src/libmp/port/crt.c @@ -53,7 +53,7 @@ crtpre(int n, mpint **m) mpfree(u); - return crt; + return crt; } void diff --git a/src/libmp/port/mpaux.c b/src/libmp/port/mpaux.c index ef94813a..213a0130 100644 --- a/src/libmp/port/mpaux.c +++ b/src/libmp/port/mpaux.c @@ -186,4 +186,3 @@ mplowbits0(mpint *n) } return k; } - diff --git a/src/libmp/port/mpextendedgcd.c b/src/libmp/port/mpextendedgcd.c index 712db170..696b16b0 100644 --- a/src/libmp/port/mpextendedgcd.c +++ b/src/libmp/port/mpextendedgcd.c @@ -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); diff --git a/src/libmp/port/mpfmt.c b/src/libmp/port/mpfmt.c index 7e34597d..7da82ed7 100644 --- a/src/libmp/port/mpfmt.c +++ b/src/libmp/port/mpfmt.c @@ -200,4 +200,3 @@ mpfmt(Fmt *fmt) return 0; } } - diff --git a/src/libmp/port/mptobe.c b/src/libmp/port/mptobe.c index d49225e9..a6e4f457 100644 --- a/src/libmp/port/mptobe.c +++ b/src/libmp/port/mptobe.c @@ -29,7 +29,7 @@ mptobe(mpint *b, uchar *p, uint n, uchar **pp) else return 1; } - + s = p; e = s+n; suppress = 1; diff --git a/src/libmp/port/mptole.c b/src/libmp/port/mptole.c index 0b676ef6..ffefd48e 100644 --- a/src/libmp/port/mptole.c +++ b/src/libmp/port/mptole.c @@ -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++){ diff --git a/src/libmp/port/mptouv.c b/src/libmp/port/mptouv.c index 9cb74ea4..b4aff133 100644 --- a/src/libmp/port/mptouv.c +++ b/src/libmp/port/mptouv.c @@ -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; diff --git a/src/libmp/port/mptov.c b/src/libmp/port/mptov.c index b24b8e3e..349bf335 100644 --- a/src/libmp/port/mptov.c +++ b/src/libmp/port/mptov.c @@ -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; diff --git a/src/libmp/port/os.h b/src/libmp/port/os.h index dae875d6..07a1f976 100644 --- a/src/libmp/port/os.h +++ b/src/libmp/port/os.h @@ -1,3 +1,2 @@ #include #include - -- cgit v1.2.3