X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frandom_r.c;h=78f777670e6a7e688a7a60389670023ec10b3e09;hb=05ed80b6a55ce3f831fc73f15df68b5ca2856ccb;hp=288a72c3a8aa905162c0077101118306488b7170;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/lib/random_r.c b/lib/random_r.c index 288a72c3a..78f777670 100644 --- a/lib/random_r.c +++ b/lib/random_r.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995, 2005, 2008-2011 Free Software Foundation, Inc. + Copyright (C) 1995, 2005, 2008-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ may be used to endorse or promote products derived from this software without specific prior written permission. - THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE @@ -50,18 +50,20 @@ * Rewritten to be reentrant by Ulrich Drepper, 1995 */ -#include - /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the buf == NULL, arg_state == NULL, result == NULL tests below. */ #define _GL_ARG_NONNULL(params) +#include + +/* Specification. */ +#include + #include #include #include -#include -#include +#include /* An improved random number generation package. In addition to the standard