X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fglob.c;h=38dd32373801a0be277d9137fefb81778979d0a5;hb=836682e6cff19cce534966b7bab4a933833f9693;hp=1b5de09955e0bc4ee2611c4fda74e2d1c5cbe5f0;hpb=4de79b34b329d1da6cdeb145993d3efd911e2967;p=pspp-builds.git diff --git a/src/glob.c b/src/glob.c index 1b5de099..38dd3237 100644 --- a/src/glob.c +++ b/src/glob.c @@ -63,7 +63,6 @@ extern void stifle_history (); #include "calendar.h" #include "command.h" #include "dictionary.h" -#include "do-ifP.h" #include "error.h" #include "file-handle.h" #include "filename.h" @@ -72,6 +71,7 @@ extern void stifle_history (); #include "lexer.h" #include "magic.h" #include "main.h" +#include "random.h" #include "settings.h" #include "str.h" #include "var.h" @@ -84,19 +84,13 @@ extern void stifle_history (); struct dictionary *default_dict; struct expression *process_if_expr; -struct trns_header **t_trns; -int n_trns; -int m_trns; -int f_trns; - -short test_mode=0; +struct transformation *t_trns; +size_t n_trns, m_trns, f_trns; int FILTER_before_TEMPORARY; struct file_handle *default_handle; -struct ctl_stmt *ctl_stack; - /* log.h */ char *logfn; FILE *logfile; @@ -167,7 +161,8 @@ init_glob (int argc UNUSED, char **argv) } - init_settings(); + init_settings (); + random_init (); /* log.h */ logging = 1; @@ -183,6 +178,7 @@ done_glob(void) cancel_transformations (); dict_destroy (default_dict); free (logfn); + random_done (); done_settings (); ds_destroy (&tokstr);