summaryrefslogtreecommitdiff
path: root/mpi/mpi-scan.c
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2003-06-17 17:41:00 +0000
committerMoritz Schulte <mo@g10code.com>2003-06-17 17:41:00 +0000
commitcc4894aced863e9446ece68f69c422b166011606 (patch)
tree1192518d0734bf6cbb27d8976c997ae7e4b487c0 /mpi/mpi-scan.c
parente982889ce512b4963d8976c2840c8013333793e9 (diff)
downloadlibgcrypt-cc4894aced863e9446ece68f69c422b166011606.tar.gz
2003-06-16 Moritz Schulte <moritz@g10code.com>
* mpi-add.c: Replace last occurences of old type names with newer names (i.e. replace MPI with gcry_mpi_t). * mpi-bit.c: Likewise. * mpi-cmp.c: Likewise. * mpi-div.c: Likewise. * mpi-gcd.c: Likewise. * mpi-internal.h: Likewise. * mpi-inv.c: Likewise. * mpi-mpow.c: Likewise. * mpi-mul.c: Likewise. * mpi-pow.c: Likewise. * mpi-scan.c: Likewise. * mpicoder.c: Likewise. * mpiutil.c: Likewise.
Diffstat (limited to 'mpi/mpi-scan.c')
-rw-r--r--mpi/mpi-scan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpi/mpi-scan.c b/mpi/mpi-scan.c
index d25b356c..90699cdd 100644
--- a/mpi/mpi-scan.c
+++ b/mpi/mpi-scan.c
@@ -1,5 +1,5 @@
/* mpi-scan.c - MPI functions
- * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc.
*
* This file is part of Libgcrypt.
*
@@ -32,7 +32,7 @@
* FIXME: This code is VERY ugly!
*/
int
-_gcry_mpi_getbyte( MPI a, unsigned idx )
+_gcry_mpi_getbyte( gcry_mpi_t a, unsigned idx )
{
int i, j;
unsigned n;
@@ -54,7 +54,7 @@ _gcry_mpi_getbyte( MPI a, unsigned idx )
* Put a value at position IDX into A. idx counts from lsb to msb
*/
void
-_gcry_mpi_putbyte( MPI a, unsigned idx, int xc )
+_gcry_mpi_putbyte( gcry_mpi_t a, unsigned idx, int xc )
{
int i, j;
unsigned n;
@@ -110,7 +110,7 @@ _gcry_mpi_putbyte( MPI a, unsigned idx, int xc )
* Count the number of zerobits at the low end of A
*/
unsigned
-_gcry_mpi_trailing_zeros( MPI a )
+_gcry_mpi_trailing_zeros( gcry_mpi_t a )
{
unsigned n, count = 0;