X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Futilities%2Fdate.c;h=3b754b4980efa902ce155bc4708ce93c7358242f;hb=ac5fc2c85d86f1a14cdea0a215666ab39b44a1dc;hp=f465eb37b5a4d8028ffa6e0abff62fa9926b4ee5;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp
diff --git a/src/language/utilities/date.c b/src/language/utilities/date.c
index f465eb37b5..3b754b4980 100644
--- a/src/language/utilities/date.c
+++ b/src/language/utilities/date.c
@@ -1,5 +1,5 @@
/* PSPP - a program for statistical analysis.
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 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
@@ -15,9 +15,10 @@
along with this program. If not, see . */
#include
-#include
-#include
-#include
+
+#include "language/command.h"
+#include "language/lexer/lexer.h"
+#include "libpspp/message.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
@@ -27,7 +28,7 @@ int
cmd_use (struct lexer *lexer, struct dataset *ds UNUSED)
{
if (lex_match (lexer, T_ALL))
- return lex_end_of_command (lexer);
+ return CMD_SUCCESS;
msg (SW, _("Only USE ALL is currently implemented."));
return CMD_FAILURE;