Removed visibility from those toolbar buttons whose actions are
[pspp] / src / language / utilities / date.c
index aa6cb2205d934d3f888088e6e42813c244845544..08fba2fc18ef9e5c0399aaeec26dc5fceb026158 100644 (file)
@@ -1,6 +1,5 @@
 /* PSPP - computes sample statistics.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   Written by Ben Pfaff <blp@gnu.org>.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
    02110-1301, USA. */
 
 #include <config.h>
-#include "command.h"
-#include "message.h"
-#include "lexer.h"
+#include <language/command.h>
+#include <libpspp/message.h>
+#include <language/lexer/lexer.h>
 
 #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;