X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flibpspp%2Fverbose-msg.c;h=a65db7d8edf3a6b4312860e9ce3a8a900f7ba189;hb=e440df47523ce3c7189a3db3e19e742dd434291a;hp=d4c29afd87f1e6da72d35160aa8c083b9f48be36;hpb=9f1d9ea8ac4f5e35a773581cf3d5ebd9e219bff8;p=pspp-builds.git diff --git a/src/libpspp/verbose-msg.c b/src/libpspp/verbose-msg.c index d4c29afd..a65db7d8 100644 --- a/src/libpspp/verbose-msg.c +++ b/src/libpspp/verbose-msg.c @@ -1,21 +1,18 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . - 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 the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #include @@ -32,7 +29,7 @@ static int verbosity; /* Increases the verbosity level. */ void -verbose_increment_level (void) +verbose_increment_level (void) { verbosity++; } @@ -45,7 +42,7 @@ verbose_msg (int level, const char *format, ...) if (level <= verbosity) { va_list args; - + va_start (args, format); fprintf (stderr, "%s: ", program_name); vfprintf (stderr, format, args);