File gawk-3.1.8.diff of Package gawk.30172

Index: gawk-4.1.0/builtin.c
===================================================================
--- gawk-4.1.0.orig/builtin.c
+++ gawk-4.1.0/builtin.c
@@ -29,7 +29,6 @@
 #include <fcntl.h>
 #endif
 #include <math.h>
-#include "random.h"
 #include "floatmagic.h"
 
 #if defined(HAVE_POPEN_H)
@@ -64,12 +63,6 @@
 static size_t mbc_byte_count(const char *ptr, size_t numchars);
 static size_t mbc_char_count(const char *ptr, size_t numbytes);
 
-/* Can declare these, since we always use the random shipped with gawk */
-extern char *initstate(unsigned long seed, char *state, long n);
-extern char *setstate(char *state);
-extern long random(void);
-extern void srandom(unsigned long seed);
-
 extern NODE **args_array;
 extern int max_args;
 extern NODE **fields_arr;
Index: gawk-4.1.0/doc/gawk.texi
===================================================================
--- gawk-4.1.0.orig/doc/gawk.texi
+++ gawk-4.1.0/doc/gawk.texi
@@ -1718,7 +1718,7 @@ and
 Chuck Toporek.
 
 @cindex Berry, Karl
-@cindex Chassell, Robert J.@:
+@cindex Chassell, Robert J.
 @c @cindex Texinfo
 Robert J.@: Chassell provided much valuable advice on
 the use of Texinfo.
@@ -33767,7 +33767,7 @@ did the initial work to convert @command
 GNU Automake and GNU @code{gettext}.
 
 @item
-@cindex Broder, Alan J.@:
+@cindex Broder, Alan J.
 Alan J.@: Broder
 provided the initial version of the @code{asort()} function
 as well as the code for the optional third argument to the
Index: gawk-4.1.0/Makefile.am
===================================================================
--- gawk-4.1.0.orig/Makefile.am
+++ gawk-4.1.0/Makefile.am
@@ -115,11 +115,7 @@ base_sources = \
 	node.c \
 	profile.c \
 	protos.h \
-	random.c \
-	random.h \
 	re.c \
-	regex.c \
-	regex.h \
 	replace.c \
 	str_array.c \
 	symbol.c \
Index: gawk-4.1.0/po/POTFILES.in
===================================================================
--- gawk-4.1.0.orig/po/POTFILES.in
+++ gawk-4.1.0/po/POTFILES.in
@@ -36,7 +36,6 @@ profile.c
 random.c
 re.c
 regcomp.c
-regex.c
 regex_internal.c
 regexec.c
 replace.c
openSUSE Build Service is sponsored by