[BACK]Return to rands.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp

Annotation of OpenXM_contrib/gmp/rands.c, Revision 1.1.1.1

1.1       ohara       1: /* __gmp_rands -- global random state for old-style random functions.
                      2:
                      3:    EVERYTHING IN THIS FILE IS FOR INTERNAL USE ONLY.  IT'S ALMOST CERTAIN TO
                      4:    BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR COMPLETELY IN FUTURE GNU
                      5:    MP RELEASES.  */
                      6:
                      7: /*
                      8: Copyright 2001 Free Software Foundation, Inc.
                      9:
                     10: This file is part of the GNU MP Library.
                     11:
                     12: The GNU MP Library is free software; you can redistribute it and/or modify
                     13: it under the terms of the GNU Lesser General Public License as published by
                     14: the Free Software Foundation; either version 2.1 of the License, or (at your
                     15: option) any later version.
                     16:
                     17: The GNU MP Library is distributed in the hope that it will be useful, but
                     18: WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
                     19: or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
                     20: License for more details.
                     21:
                     22: You should have received a copy of the GNU Lesser General Public License
                     23: along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
                     24: the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
                     25: MA 02111-1307, USA.
                     26: */
                     27:
                     28: #include "gmp.h"
                     29: #include "gmp-impl.h"
                     30:
                     31:
                     32: /* Use this via the RANDS macro in gmp-impl.h */
                     33: char             __gmp_rands_initialized = 0;
                     34: gmp_randstate_t  __gmp_rands;

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>