diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:09:56 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:09:56 +0300 |
commit | bc70de7b3302d5a81515b901cae376b8b51d2004 (patch) | |
tree | d36d6743e65697f6923b79d0ea8f9f9bf4ef7398 /random.h | |
parent | b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2 (diff) | |
download | egawk-bc70de7b3302d5a81515b901cae376b8b51d2004.tar.gz egawk-bc70de7b3302d5a81515b901cae376b8b51d2004.tar.bz2 egawk-bc70de7b3302d5a81515b901cae376b8b51d2004.zip |
Move to gawk-3.1.0.
Diffstat (limited to 'random.h')
-rw-r--r-- | random.h | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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 <config.h> +#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(); |