X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Futilities%2Fdate.c;h=08fba2fc18ef9e5c0399aaeec26dc5fceb026158;hb=d2a96ae99e49b5264ca68ace469e20fa5e2e605b;hp=aa6cb2205d934d3f888088e6e42813c244845544;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp diff --git a/src/language/utilities/date.c b/src/language/utilities/date.c index aa6cb2205d..08fba2fc18 100644 --- a/src/language/utilities/date.c +++ b/src/language/utilities/date.c @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 2004 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 @@ -18,19 +17,19 @@ 02110-1301, USA. */ #include -#include "command.h" -#include "message.h" -#include "lexer.h" +#include +#include +#include #include "gettext.h" #define _(msgid) gettext (msgid) /* Stub for USE command. */ int -cmd_use (void) +cmd_use (struct lexer *lexer, struct dataset *ds UNUSED) { - if (lex_match (T_ALL)) - return lex_end_of_command (); + if (lex_match (lexer, T_ALL)) + return lex_end_of_command (lexer); msg (SW, _("Only USE ALL is currently implemented.")); return CMD_FAILURE;