? config.h.in ? ac-extra.m4 ? config.cache ? gmp-palm.diff ? mpf/floor.c ? mpf/ceil.c ? mpf/trunc.c ? mpz/mul_si.c ? mpz/mul_ui.c Index: ChangeLog =================================================================== RCS file: /usr/local/cvsroot/security/gmp/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.4 diff -u -r1.1.1.1 -r1.4 --- ChangeLog 2000/12/12 13:41:05 1.1.1.1 +++ ChangeLog 2001/01/05 13:02:40 1.4 @@ -1,3 +1,59 @@ +2001-01-04 Niels Möller + + * mpn/generic/set_str.c (mpn_set_str): Added ASSERT():s + + * mpn/generic/gmp-mparam.h: KLUDGE: Use BITS_PER_INT 16. + + * mpn/mp_bases.c: Fail if BITS_PER_MP_LIMB is not 32 or 64. + + * memory.c: KLUDGE: Use puts() instead of perror(). + +2000-12-19 Niels Möller + + * mpz/out_str.c (mpz_out_str): #if:ed out. + + * mpz/out_raw.c (mpz_out_raw): #if:ed out. + + * mpz/inp_str.c (mpz_inp_str): #if:ed out. + + * mpz/inp_raw.c (mpz_inp_raw): #if:ed out. + + * mpq/out_str.c (mpq_out_str): #if:ed out. + + * #include stddef.h instead of stdio.h in files that just need + NULL. + + * mpf/set_str.c: #if:ed out declaration of strtol(). + +2000-12-18 Niels Möller + + * mpn/m68k/m68k-defs.m4: define TEXT (is this really the right + place?) + Use changecom(`;'), as it's more portable than changecom with no + args. + + * mpn/m68k/add_n.S: Removed. + * mpn/m68k/lshift.S: Removed. + * mpn/m68k/rshift.S: Removed. + * mpn/m68k/sub_n.S: Removed. + + * mpf/inp_str.c (mpf_inp_str): #if:ed out. + * mpf/out_str.c (mpf_out_str): Likewise. + + * rand.c: Include stddef.h instead of stdio.h. + + * gmp-impl.h (union ieee_double_extract): Use unsigned long for + bitfields, to supprot platforms with 16 bit int (such as palmos). + +2000-12-13 Niels Möller + + * configure.in: KLUDGE: Set ac_config_sub and ac_aux_dir. + + * acinclude.m4: Added random macros, needed because of bugs in + aclocal. + + * configure.in: asm-ify the m68k files. + 2000-10-05 Kevin Ryde * Version 3.1.1 released. Index: acinclude.m4 =================================================================== RCS file: /usr/local/cvsroot/security/gmp/acinclude.m4,v retrieving revision 1.1.1.1 retrieving revision 1.3 diff -u -r1.1.1.1 -r1.3 --- acinclude.m4 2000/12/12 13:41:06 1.1.1.1 +++ acinclude.m4 2000/12/18 17:19:14 1.3 @@ -833,3 +833,40 @@ dnl Deal with bad synchronization of Autoconf with Libtool. AC_DEFUN(AC_CANONICAL_BUILD, [_AC_CANONICAL_BUILD]) AC_DEFUN(AC_CHECK_TOOL_PREFIX, [_AC_CHECK_TOOL_PREFIX]) + +# Copied from acgeneral.m4 in tege's autotool-gmp-3.1/share/autoconf + +# AC_TRY_COMPILER(TEST-PROGRAM, WORKING-VAR, CROSS-VAR) +# ----------------------------------------------------- +# Try to compile, link and execute TEST-PROGRAM. Set WORKING-VAR to +# `yes' if the current compiler works, otherwise set it ti `no'. Set +# CROSS-VAR to `yes' if the compiler and linker produce non-native +# executables, otherwise set it to `no'. Before calling +# `AC_TRY_COMPILER()', call `AC_LANG_*' to set-up for the right +# language. +AC_DEFUN(AC_TRY_COMPILER, +[cat >conftest.$ac_ext </dev/null; then + [$3]=no + else + [$3]=yes + fi +else + echo "configure: failed program was:" >&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC + [$2]=no +fi +rm -fr conftest*]) + + + Index: assert.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/assert.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- assert.c 2000/12/12 13:41:06 1.1.1.1 +++ assert.c 2000/12/18 17:21:09 1.2 @@ -22,6 +22,7 @@ */ #include +#include #include "gmp.h" #include "gmp-impl.h" @@ -37,6 +38,7 @@ char *expr; #endif { +#if 0 if (filename != NULL && filename[0] != '\0') { fprintf (stderr, "%s:", filename); @@ -45,6 +47,7 @@ } fprintf (stderr, "GNU MP assertion failed: %s\n", expr); +#endif abort(); /*NOTREACHED*/ Index: configure.in =================================================================== RCS file: /usr/local/cvsroot/security/gmp/configure.in,v retrieving revision 1.1.1.1 retrieving revision 1.3 diff -u -r1.1.1.1 -r1.3 --- configure.in 2000/12/12 13:41:06 1.1.1.1 +++ configure.in 2000/12/18 17:27:26 1.3 @@ -21,10 +21,15 @@ dnl MA 02111-1307, USA. -AC_REVISION($Revision: 1.1.1.1 $)dnl +AC_REVISION($Revision: 1.3 $)dnl AC_PREREQ(2.14)dnl AC_INIT(gmp-impl.h) +# KLUDGE + +ac_config_sub=./config.sub +ac_aux_dir=. + dnl Check system. AC_CANONICAL_SYSTEM @@ -378,6 +383,11 @@ fi fi +dnl # XXX Hack for Palmos. The prototype for the builtin memset() collides +dnl # with the palm sdk. +dnl +dnl CFLAGS="$CFLAGS -fno-builtin" + # Restore CFLAGS given on command line. # FIXME: We've run through quite some unnecessary code looking for a # nice compiler and working flags for it, just to spoil that with user @@ -598,10 +608,12 @@ # Motorola 68k configurations. Let m68k mean 68020-68040. [m680[234]0*-*-* | m68k*-*-* | \ m68*-next-nextstep*]) # Nexts are at least '020 + gmp_m4postinc="m68k/m68k-defs.m4" path="m68k/mc68020 m68k" family=m68k ;; - m68000*-*-*) + m68000*-*-* | m68328*-*-*) + gmp_m4postinc="m68k/m68k-defs.m4" path="m68k" family=m68k ;; @@ -740,16 +752,16 @@ # Now build an asm-syntax.h file for targets that include that from the # assembly files. # FIXME: Remove when conversion to .asm is completed. -case "${family}-${underscore}-${asm_align}-${syntax}" in - m68k-yes-log-mit) - echo '#define MIT_SYNTAX' >asm-syntax.h - cat $srcdir/mpn/underscore.h >>asm-syntax.h - echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;; - m68k-no-nolog-elf) - echo '#define ELF_SYNTAX' >asm-syntax.h - echo '#define C_SYMBOL_NAME(name) name' >>asm-syntax.h - echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;; -esac +# case "${family}-${underscore}-${asm_align}-${syntax}" in +# m68k-yes-log-mit) +# echo '#define MIT_SYNTAX' >asm-syntax.h +# cat $srcdir/mpn/underscore.h >>asm-syntax.h +# echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;; +# m68k-no-nolog-elf) +# echo '#define ELF_SYNTAX' >asm-syntax.h +# echo '#define C_SYMBOL_NAME(name) name' >>asm-syntax.h +# echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;; +# esac # The pattern here tests for an absolute path the same way as Index: gmp-impl.h =================================================================== RCS file: /usr/local/cvsroot/security/gmp/gmp-impl.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- gmp-impl.h 2000/12/12 13:41:06 1.1.1.1 +++ gmp-impl.h 2000/12/18 17:28:39 1.2 @@ -876,12 +876,13 @@ #define _GMP_IEEE_FLOATS 1 union ieee_double_extract { + /* Use long, as int may be only 16 bits. */ struct { - unsigned int sig:1; - unsigned int exp:11; - unsigned int manh:20; - unsigned int manl:32; + unsigned long sig:1; + unsigned long exp:11; + unsigned long manh:20; + unsigned long manl:32; } s; double d; }; Index: memory.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/memory.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- memory.c 2000/12/12 13:41:06 1.1.1.1 +++ memory.c 2001/01/04 14:50:56 1.2 @@ -29,6 +29,8 @@ #define static #endif +/* HACK PalmOs */ +#define perror puts void * (*_mp_allocate_func) _PROTO ((size_t)) = _mp_default_allocate; void * (*_mp_reallocate_func) _PROTO ((void *, size_t, size_t)) Index: rand.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/rand.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- rand.c 2000/12/12 13:41:06 1.1.1.1 +++ rand.c 2000/12/18 17:30:36 1.2 @@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #if __STDC__ # include #else Index: mpf/inp_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpf/inp_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpf/inp_str.c 2000/12/12 13:41:09 1.1.1.1 +++ mpf/inp_str.c 2000/12/18 17:34:15 1.2 @@ -25,6 +25,7 @@ #include "gmp.h" #include "gmp-impl.h" +#if 0 size_t #if __STDC__ mpf_inp_str (mpf_ptr rop, FILE *stream, int base) @@ -87,3 +88,4 @@ (*_mp_free_func) (str, alloc_size); return str_size + nread; } +#endif Index: mpf/out_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpf/out_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpf/out_str.c 2000/12/12 13:41:09 1.1.1.1 +++ mpf/out_str.c 2000/12/18 17:35:01 1.2 @@ -26,6 +26,7 @@ #include "gmp.h" #include "gmp-impl.h" +#if 0 size_t #if __STDC__ mpf_out_str (FILE *stream, int base, size_t n_digits, mpf_srcptr op) @@ -89,3 +90,4 @@ TMP_FREE (marker); return ferror (stream) ? 0 : written; } +#endif Index: mpf/set_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpf/set_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpf/set_str.c 2000/12/12 13:41:09 1.1.1.1 +++ mpf/set_str.c 2000/12/19 09:58:52 1.2 @@ -28,8 +28,10 @@ #include "gmp-impl.h" #include "longlong.h" - +#if 0 +/* Conflicts with palm string.h */ long int strtol _PROTO ((const char *, char **ptr, int)); +#endif static int #if __STDC__ Index: mpf/sqrt.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpf/sqrt.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpf/sqrt.c 2000/12/12 13:41:09 1.1.1.1 +++ mpf/sqrt.c 2000/12/19 10:04:37 1.2 @@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" Index: mpf/sqrt_ui.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpf/sqrt_ui.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpf/sqrt_ui.c 2000/12/12 13:41:09 1.1.1.1 +++ mpf/sqrt_ui.c 2000/12/19 10:04:37 1.2 @@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" Index: mpn/mp_bases.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpn/mp_bases.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpn/mp_bases.c 2000/12/12 13:41:07 1.1.1.1 +++ mpn/mp_bases.c 2001/01/04 16:02:08 1.2 @@ -286,8 +286,7 @@ /* 254 */ {4, 0.1251770521943144, 0xf817e010, 0x828a237}, /* 255 */ {4, 0.1250882898658681, 0xfc05fc01, 0x40a1423}, }; -#endif -#if BITS_PER_MP_LIMB == 64 +#elif BITS_PER_MP_LIMB == 64 const struct bases __mp_bases[256] = { /* 0 */ {0, 0.0, 0, 0}, @@ -547,4 +546,6 @@ /* 254 */ {8, 0.1251770521943144, CNST_LIMB(0xf06e445906fc0100), CNST_LIMB(0x1093d504b3cd7d93)}, /* 255 */ {8, 0.1250882898658681, CNST_LIMB(0xf81bc845c81bf801), CNST_LIMB(0x824794d1ec1814f)}, }; +#else +#error BITS_PER_MP_LIMB not defined #endif Index: mpn/generic/gmp-mparam.h =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpn/generic/gmp-mparam.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpn/generic/gmp-mparam.h 2000/12/12 13:41:07 1.1.1.1 +++ mpn/generic/gmp-mparam.h 2001/01/04 16:07:28 1.2 @@ -22,6 +22,6 @@ #define BITS_PER_MP_LIMB 32 #define BYTES_PER_MP_LIMB 4 #define BITS_PER_LONGINT 32 -#define BITS_PER_INT 32 +#define BITS_PER_INT 16 #define BITS_PER_SHORTINT 16 #define BITS_PER_CHAR 8 Index: mpn/generic/perfsqr.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpn/generic/perfsqr.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpn/generic/perfsqr.c 2000/12/12 13:41:07 1.1.1.1 +++ mpn/generic/perfsqr.c 2000/12/19 10:05:39 1.2 @@ -21,7 +21,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" #include "longlong.h" Index: mpn/generic/set_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpn/generic/set_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpn/generic/set_str.c 2000/12/12 13:41:07 1.1.1.1 +++ mpn/generic/set_str.c 2001/01/04 16:19:53 1.2 @@ -45,8 +45,9 @@ big_base = __mp_bases[base].big_base; indigits_per_limb = __mp_bases[base].chars_per_limb; -/* size = str_len / indigits_per_limb + 1; */ - + ASSERT(big_base); + ASSERT(indigits_per_limb); + size = 0; if ((base & (base - 1)) == 0) Index: mpn/generic/sqrtrem.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpn/generic/sqrtrem.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpn/generic/sqrtrem.c 2000/12/12 13:41:07 1.1.1.1 +++ mpn/generic/sqrtrem.c 2000/12/19 10:04:37 1.2 @@ -36,7 +36,7 @@ doesn't help to use CHAR_BIT from limits.h, as the real problem is the static arrays. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" #include "longlong.h" Index: mpq/out_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpq/out_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpq/out_str.c 2000/12/12 13:41:09 1.1.1.1 +++ mpq/out_str.c 2000/12/19 10:04:37 1.2 @@ -25,7 +25,7 @@ #include "gmp.h" #include "gmp-impl.h" - +#if 0 size_t #if __STDC__ mpq_out_str (FILE *stream, int base, mpq_srcptr q) @@ -51,3 +51,4 @@ return ferror (stream) ? 0 : written; } +#endif Index: mpz/gcd_ui.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/gcd_ui.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/gcd_ui.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/gcd_ui.c 2000/12/19 10:07:23 1.2 @@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" Index: mpz/gcdext.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/gcdext.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/gcdext.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/gcdext.c 2000/12/19 10:07:23 1.2 @@ -21,7 +21,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" Index: mpz/inp_raw.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/inp_raw.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/inp_raw.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/inp_raw.c 2000/12/19 10:08:18 1.2 @@ -25,6 +25,7 @@ #include "gmp.h" #include "gmp-impl.h" +#if 0 size_t #if __STDC__ mpz_inp_raw (mpz_ptr x, FILE *stream) @@ -99,3 +100,4 @@ x->_mp_size = neg_flag ? -xsize : xsize; return in_bytesize + 4; } +#endif Index: mpz/inp_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/inp_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/inp_str.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/inp_str.c 2000/12/19 10:08:55 1.2 @@ -50,6 +50,7 @@ return -1; } +#if 0 size_t #if __STDC__ mpz_inp_str (mpz_ptr x, FILE *stream, int base) @@ -165,3 +166,4 @@ (*_mp_free_func) (str, alloc_size); return str_size + nread; } +#endif Index: mpz/mul.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/mul.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/mul.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/mul.c 2000/12/19 10:07:23 1.2 @@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" #ifdef BERKELEY_MP Index: mpz/out_raw.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/out_raw.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/out_raw.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/out_raw.c 2000/12/19 10:25:20 1.2 @@ -25,6 +25,7 @@ #include "gmp.h" #include "gmp-impl.h" +#if 0 size_t #if __STDC__ mpz_out_raw (FILE *stream, mpz_srcptr x) @@ -87,3 +88,4 @@ } return ferror (stream) ? 0 : ABS (out_bytesize) + 4; } +#endif Index: mpz/out_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/out_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/out_str.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/out_str.c 2000/12/19 10:25:20 1.2 @@ -24,6 +24,7 @@ #include "gmp.h" #include "gmp-impl.h" +#if 0 size_t #if __STDC__ mpz_out_str (FILE *stream, int base, mpz_srcptr x) @@ -106,3 +107,4 @@ TMP_FREE (marker); return ferror (stream) ? 0 : written; } +#endif Index: mpz/perfpow.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/perfpow.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/perfpow.c 2000/12/12 13:41:08 1.1.1.1 +++ mpz/perfpow.c 2000/12/19 10:07:23 1.2 @@ -39,7 +39,7 @@ Many things can be improved. In particular, we should use p-adic arithmetic for computing possible roots. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" #include "longlong.h" Index: mpz/powm_ui.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/powm_ui.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/powm_ui.c 2000/12/12 13:41:09 1.1.1.1 +++ mpz/powm_ui.c 2000/12/19 10:07:23 1.2 @@ -20,7 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" #include "longlong.h" Index: mpz/root.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/root.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/root.c 2000/12/12 13:41:09 1.1.1.1 +++ mpz/root.c 2000/12/19 10:07:23 1.2 @@ -26,7 +26,7 @@ to some extent. It would be natural to avoid representing the low zero bits mpz_scan1 is counting, and at the same time call mpn directly. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" #include "longlong.h" Index: mpz/set_str.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/set_str.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/set_str.c 2000/12/12 13:41:09 1.1.1.1 +++ mpz/set_str.c 2000/12/19 10:26:00 1.2 @@ -24,7 +24,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include +/* #include */ #include #include "gmp.h" #include "gmp-impl.h" Index: mpz/sqrt.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/sqrt.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/sqrt.c 2000/12/12 13:41:09 1.1.1.1 +++ mpz/sqrt.c 2000/12/19 10:07:23 1.2 @@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" Index: mpz/sqrtrem.c =================================================================== RCS file: /usr/local/cvsroot/security/gmp/mpz/sqrtrem.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- mpz/sqrtrem.c 2000/12/12 13:41:09 1.1.1.1 +++ mpz/sqrtrem.c 2000/12/19 10:07:23 1.2 @@ -20,7 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include /* for NULL */ +#include /* for NULL */ #include "gmp.h" #include "gmp-impl.h" #ifdef BERKELEY_MP