aboutsummaryrefslogtreecommitdiffstats
path: root/mpi/mpi-scan.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-24 17:54:56 +0000
committerDavid Shaw <[email protected]>2003-05-24 17:54:56 +0000
commite152598106495a93ca8e895032db4f5b1e4a0d2f (patch)
tree7421d51802e163ccf2313527df270369039903db /mpi/mpi-scan.c
parent* argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c, (diff)
downloadgnupg-e152598106495a93ca8e895032db4f5b1e4a0d2f.tar.gz
gnupg-e152598106495a93ca8e895032db4f5b1e4a0d2f.zip
* mpicoder.c, mpi-inline.h, mpi-inv.c, mpiutil.c, mpih-div.c,
mpi-internal.h, mpi-scan.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
Diffstat (limited to '')
-rw-r--r--mpi/mpi-scan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mpi/mpi-scan.c b/mpi/mpi-scan.c
index abebe2208..615b9464f 100644
--- a/mpi/mpi-scan.c
+++ b/mpi/mpi-scan.c
@@ -67,7 +67,7 @@ mpi_putbyte( MPI a, unsigned idx, int xc )
limb = ap[i];
for( j=0; j < BYTES_PER_MPI_LIMB; j++, n++ )
if( n == idx ) {
- #if BYTES_PER_MPI_LIMB == 4
+#if BYTES_PER_MPI_LIMB == 4
if( j == 0 )
limb = (limb & 0xffffff00) | c;
else if( j == 1 )
@@ -76,7 +76,7 @@ mpi_putbyte( MPI a, unsigned idx, int xc )
limb = (limb & 0xff00ffff) | (c<<16);
else
limb = (limb & 0x00ffffff) | (c<<24);
- #elif BYTES_PER_MPI_LIMB == 8
+#elif BYTES_PER_MPI_LIMB == 8
if( j == 0 )
limb = (limb & 0xffffffffffffff00) | c;
else if( j == 1 )
@@ -93,9 +93,9 @@ mpi_putbyte( MPI a, unsigned idx, int xc )
limb = (limb & 0xff00ffffffffffff) | (c<<48);
else
limb = (limb & 0x00ffffffffffffff) | (c<<56);
- #else
- #error please enhance this function, its ugly - i know.
- #endif
+#else
+#error please enhance this function, its ugly - i know.
+#endif
if( a->nlimbs <= i )
a->nlimbs = i+1;
ap[i] = limb;