X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fmodel-checker.c;h=e0a0f71a62706891145c01966d4dacff94530d53;hb=81579d9e9f994fb2908f50af41c3eb033d216e58;hp=80198f82bc76262b60b2841be92a25e8ce1cc648;hpb=b5c82cc9aabe7e641011130240ae1b2e84348e23;p=pspp-builds.git diff --git a/src/libpspp/model-checker.c b/src/libpspp/model-checker.c index 80198f82..e0a0f71a 100644 --- a/src/libpspp/model-checker.c +++ b/src/libpspp/model-checker.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010, 2011 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 @@ -16,7 +16,7 @@ #include -#include +#include "libpspp/model-checker.h" #include #include @@ -26,16 +26,16 @@ #include #include -#include -#include -#include -#include -#include -#include +#include "libpspp/argv-parser.h" +#include "libpspp/bit-vector.h" +#include "libpspp/compiler.h" +#include "libpspp/deque.h" +#include "libpspp/misc.h" +#include "libpspp/str.h" -#include "error.h" -#include "minmax.h" -#include "xalloc.h" +#include "gl/error.h" +#include "gl/minmax.h" +#include "gl/xalloc.h" /* Initializes PATH as an empty path. */ void @@ -120,7 +120,7 @@ mc_path_to_string (const struct mc_path *path, struct string *string) for (i = 0; i < mc_path_get_length (path); i++) { if (i > 0) - ds_put_char (string, ' '); + ds_put_byte (string, ' '); ds_put_format (string, "%d", mc_path_get_operation (path, i)); } } @@ -707,7 +707,7 @@ mc_parser_option_callback (int id, void *mc_options_) mc_options_set_strategy (options, MC_RANDOM); else error (1, 0, - "strategy must be \"broad\", \"deep\", or \"random\""); + "strategy must be `broad', `deep', or `random'"); break; case OPT_MAX_DEPTH: @@ -756,8 +756,8 @@ mc_parser_option_callback (int id, void *mc_options_) else if (!strcmp (optarg, "random")) mc_options_set_queue_limit_strategy (options, MC_DROP_RANDOM); else - error (1, 0, "--queue-drop argument must be \"newest\", " - "\"oldest\", or \"random\""); + error (1, 0, "--queue-drop argument must be `newest' " + "`oldest' or `random'"); break; case OPT_SEED: