From bc70de7b3302d5a81515b901cae376b8b51d2004 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 13:09:56 +0300 Subject: Move to gawk-3.1.0. --- random.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'random.h') diff --git a/random.h b/random.h index 7fd0ff9b..fe329a27 100644 --- a/random.h +++ b/random.h @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1996 the Free Software Foundation, Inc. + * Copyright (C) 1996, 2001 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -23,7 +23,20 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ +#ifdef HAVE_CONFIG_H +#include +#endif + #define initstate gawk_initstate #define setstate gawk_setstate #define random gawk_random #define srandom gawk_srandom + +#ifdef __STDC__ +#undef __P +#define __P(s) s +#else +#define __P(s) () +#endif + +extern long random(); -- cgit v1.2.3